Messages in this thread | | | From | Marty Fouts <> | Subject | RE: Linux kernel modules development in C++ | Date | Fri, 29 Sep 2000 06:57:15 -0700 |
| |
> -----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/
| |