C++ in the kernel

Doug Barton dougb at FreeBSD.org
Sat Oct 27 17:27:43 PDT 2007


On Sat, 27 Oct 2007, Bruce M Simpson wrote:

> I should point out that I am not recommending the habitual use of C++ for 
> FreeBSD kernel development,

I have no dog in this hunt, so I'm not commenting on the issue of C++ in 
the kernel. I would like to comment however on the meta-issue that it 
doesn't really matter what your intentions are, once you open that door 
it's open, and it's got to stay open forever.

>From an architectural perspective there would have to be an overwhelming 
benefit to doing this that would far exceed the _known_ costs, never mind 
adding a few points for the costs we don't know about yet.

> nor am I condoning that we accept C++ code into the tree without any 
> *less* consideration than might be the case for contributions in other 
> languages (usually C).

Well I think that goes without saying, but for the sake of clarity it's 
probably good that you said it anyway. :)

It does raise another issue though, how many kernel developers do we 
currently have that are willing/able to judge the quality of C++ code?

Doug

-- 

     This .signature sanitized for your protection



More information about the freebsd-arch mailing list