RE: Linux kernel modules development in C++

From: Marty Fouts (marty@dotcast.com)
Date: Fri Sep 29 2000 - 08:57:15 EST


> -----Original Message-----
> From: Justin.Skists@aculab.com [mailto:Justin.Skists@aculab.com]
> Sent: Friday, September 29, 2000 3:39 AM
> To: linux-kernel@vger.kernel.org
> Subject: RE: Linux kernel modules development in C++
>
>
> But but but.. wasn't the very first C++ compilers really just
> a preprocessor into standard C?
>

Yes. Actually to K&R C, since that's the language that B.S. had available to
preprocess into.

Because of Turing-equivalence of all procedural languages, it is possible
for a "compiler" for any of them to be written as a preprocess for another
language, ala f2c and p2c. (Thus the recurring search for the "universal
assembler" and many of the advantages of implementation sharing in compiler
mid-ware and backend components.) The further the languages drift the more
difficult it is to write automatic translators between them.

C++, of course, is a considerablly different language now than it was when
B.S. introduced it.

Marty
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:24 EST