Re: C++ in the kernel



Hi,

Bruce M Simpson wrote:
I was wondering if anyone had done any further thinking about this.

let me put it into very simple words. From my experience using C since the late Seventies for very different software projects, I would never use C++ inside a kernel.

But I encourage object orientated programming and the use of much more macros to make object orientated programming easier without using C++.

A kernel should be small and its response should be predictable in all cases and at all times.

This is something which is not always the case with C++.

Erich

It seems a team in Iceland succeeded in making Linux C++ enabled:
http://netlab.ru.is/exception/LinuxCXX.shtml

Particularly interesting are the measurements for exception handling.

The Click Modular Router is an example of a test case for C++ in both the Linux and FreeBSD kernels.

regards,
BMS


_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"