Re: C++ in the kernel
- From: Erich Dollansky <oceanare@xxxxxxxxxxxxxx>
- Date: Sun, 28 Oct 2007 12:52:04 +0800
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"
- References:
- C++ in the kernel
- From: Bruce M Simpson
- C++ in the kernel
- Prev by Date: Re: C++ in the kernel
- Next by Date: Re: C++ in the kernel
- Previous by thread: Re: C++ in the kernel
- Next by thread: Re: C++ in the kernel
- Index(es):