On Thu, 28 Oct 2004 13:21:49 +0200 Anders Johansson <andjoh@rydsbo.net> wrote:
http://kerneltrap.org/node/view/2067
the relevant quote being "Trust me - writing kernel code in C++ is a BLOODY STUPID IDEA." Several years ago, we decided to use lint(1) on the Tru64 Unix kernel. It was a good idea that found many problems with the kernel code, and cuased me to have many arguments with some of the kernel people because I was the lint(1) maintainer. We also had a special mode to look for 32/64-bit issues specifically. At the same time there was a discussion to use C++. IMHO: it is not a BLOODY STUPID IDEA", but C++ is not yet at the point where it would be useful in a kernel. The real issue is that the C compilers are much more mature than the C++ compilers. A kernel needs to be very efficient. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9