logo
Published on KernelTrap (http://kerneltrap.org)

inventing Intention Description Language for drivers

By olecom
Created Apr 11 2008 - 10:29
Summary: programming languages are CS cargo cult [1];
         for me it's plain text, so get `sed` and do text processing;
         but before, some kind of designing meta-language is needed anyway;
         drivers is a good place to try.
Conclusion: linux's, BSD arch/ && kernel/ analogue in meta-language.

Thinking more (after this entry [2]) about all software over-complication,
programming languages, LISP, AI, etc., just remembered, that i was
(till 2005) a Mozilla/CSS/DOM/XML fan boy.

Oh yea! Happily now i can at least use this publication mechanism [3] with all
that twisted HTML things (no, it's not true botting blog, just what boils
inside for years:).

I also remembered strange IDL [4] thing in Mozilla sources.

So, those CS guys think software is not a plain text, but diamond, stone,
concrete and is a cult (think cargo cult [5])?

And guess what? Yes, and they need another language, meta-language!

http://en.wikipedia.org/wiki/Interface_description_language [6]
(check all refs., be ready for hardcore CS hand waving and no info)

And what if software is a PLAIN TEXT? Well, in Open Source i can
prove that, `sed` is my tool, no problem transforming C *[ch]
(style is very important to have something done easily and without
side effects [7]).

Just wrote about hardware guys [8], really pushing digital era and before that,
noted about development of their tools [9]. So, IMHO hardware needs some kind
of meta-language on driver-software level. It's not David Wheeler's [10]

   "Any problem in computer science can be solved with another layer
    of indirection. But that usually will create another problem."

It is hardware (yea, some firmware, but still). And generating C code
by semantically known and tested meta-language constructs is
development of "only generating and reading assembler"[*] as of now (in
kernel, of course).

[*] * http://kerneltrap.org/Linux/Decoding_Oops [11]
    * "I would encourage lots of kernel hackers to read the assembler
       code gcc generates." Linus Torvalds @ 2007-07-24 19:48:13 GMT. [12]

Just get your C after generation and go forward. Meta-language is just
non exclusive tool.

It's like linux/arch but not in functions and macro-wrappers, but in
meta-language.

> * to have one driver base for all kernels (Linux, BSD, GNU, etc.),
>   no binary or source compatibility layers
> * file system base
>
>  http://kernelnewbies.org/olecom [13]

Do i have to invent Intention Description Language and its
implementation, to try this? IMHO for at least drivers, i can do that:

* RAM buffers
* DMA
* interrupts
* buses
* glue logic(in C)
* optimizations (in asm)
* (add yours)

Problems? Maybe it's not that easy? Maintaining? Egoism? License?

Ethics (much like ndiswrapper [14]): there will be no more Linux source base.

(: Meta Source vs Open Source vs Free Software vs OpenBSD :)

Do i need that?

____
rhitoric trolling:
I have heard, that fruit and mushroom collectors are on big
demand in California. [15]

Those robot guys are wanting to make a football team beating humans,
yet harvesting... (Sucks?)
-- 
sed 'sed && sh + olecom = love' << ''
-o--=O`C
 #oo'L O
<___=E M

Source URL:
http://kerneltrap.org/node/15965