kern/99979: Get Ready for Kernel Module in C++

Julian Elischer julian at
Mon Jul 10 19:45:50 UTC 2006

mag at wrote:

> Joseph Koshy wrote:
>>> I would write my kernel module in C++, just like IOKit
>>> of OpenDarwin. Thus, all conflicts against C++ in current
>>> FreeBSD kernel source must be swept out firstly.
While the idea of using C++ in the kernel made me very nervous,
I have seen some places where an official subset might be useful.
is it worth having a discussion about what features of C++ (or modular C)
we would want to support and what would remain "illegal" in the kernel?

Inherritance would be noce but there are traps.. e.g.
How do you cope with classes depending on superclasses that may be from
a different
module and may have been compiled at a different time?
(i.e. the base structure may have changed)

> _______________________________________________
> freebsd-hackers at mailing list
> To unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe at"

More information about the freebsd-hackers mailing list