Re: Compiling C++ modules

From: Avi Kivity
Date: Mon Apr 24 2006 - 17:03:47 EST


Alan Cox wrote:
There are a few anti C++ bigots around too, but the kernel choice of C
was based both on rational choices and experimentation early on with the
C++ compiler.
Times have changed, though. The C++ compiler is much better now, and the recent slew of error handling bugs shows that C is a very unsafe language.

I think it's easy to show that the equivalent C++ code would be shorter, faster, and safer.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

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