About using C++ for kernel drivers

bearophile bearophileHUGS at lycos.com
Thu Jul 14 16:10:00 PDT 2011


An article about the problems in using C++ to write Windows drivers, "C++ for Kernel Mode Drivers: Pros and Cons" (February 2007):
http://msdn.microsoft.com/en-us/windows/hardware/gg487420.aspx

The article shows why C++ is not so fit for this purpose. Is D even worse for this purpose? If this is true then is it possible to improve D a bit for such low level purposes? How? Even if it is possible to improve D to such purposes, is it worth it? Such purposes after all are quite a niche, most programmers don't need to write kernel mode drivers and similar things. Anyway, I hope someday people will design a system language better than C and very fit for such niche but important purposes too :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list