C++ in the kernel

Andrew Reilly andrew-freebsd at areilly.bpc-users.org
Thu Nov 15 10:15:08 PST 2007


On Sun, Oct 28, 2007 at 12:03:00AM -0600, M. Warner Losh wrote:
> In message: <4722BDBE.5030408 at incunabulum.net>
>             Bruce M Simpson <bms at incunabulum.net> writes:
> : It seems a team in Iceland succeeded in making Linux C++ enabled:
> 
> Most people on this list haven't had experience with eC++.  In this
> environment, a number of the features of the language are omitted to
> be better suited to the embedded environment.
> 
> If it were up to me, I wouldn't bother with supporting exception.
> They are one of the areas that are abused that have dire consequences
> when abused (uncaught exceptions are evil, for example).  Rtti was
> also omitted from eC++ as well.  These things help debloat the
> language and can be used to good effect.

Could that be done with cfront (C++ to C translation)?  From
memory, cfront didn't do exceptions or rtti either, as they had
not been invented yet.

-- 
Andrew


More information about the freebsd-arch mailing list