Re: C++ and the kernel

Michael Clark (michael@metaparadigm.com)
Tue, 9 Apr 2002 22:02:26 +0800


On Tuesday, April 9, 2002, at 09:28 PM, Richard B. Johnson wrote:

> C++ is designed for user-mode programming. It expects to interface
> with a complete operating system with well-defined characteristics.
> It is not designed to be part of an operating system kernel.

Not according to Apple.

http://developer.apple.com/techpubs/macosx/Darwin/IOKit/iokit.html

"The I/O Kit is a collection of system frameworks, libraries, tools,
and other resources for creating device drivers in Mac OS X. It is
based on an object-oriented programming model implemented in a
restricted form of C++ that omits features unsuitable for use within
a multithreaded kernel."

Although I wouldn't use this as a justification for doing this
in Linux ;).

~mc

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