On Wed, 07 Sep 2005 00:20:11 +0200, Esben Nielsen said: > Which is too bad. You can do stuff much more elegant, effectively and > safer in C++ than in C. Yes, you can do inheritance in C, but it leaves > it up to the user to make sure the type-casts are done OK every time. You > can with macros do some dynamic typing, but not nearly as effectively as > with templates, and those macros always comes very, very ugly. (Some say > templates are ugly, but they first become ugly when they are used > way beyond what you can do with macros.) > > I think it can only be a plus to Linux to add C++ support for at least > out-of-mainline drivers. Adding drivers written in C++ into the mainline > is another thing.
http://www.tux.org/lkml/#s15-3 Why don't we rewrite the Linux kernel in C++?
pgpEzPLo5ffwk.pgp
Description: PGP signature