Date: Fri, 16 Nov 2007 00:00:58 +1100 From: Andrew Reilly <andrew-freebsd@areilly.bpc-users.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: bms@incunabulum.net, freebsd-arch@freebsd.org Subject: Re: C++ in the kernel Message-ID: <20071115130058.GA71758@duncan.reilly.home> In-Reply-To: <20071028.000300.-861062412.imp@bsdimp.com> References: <4722BDBE.5030408@incunabulum.net> <20071028.000300.-861062412.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 28, 2007 at 12:03:00AM -0600, M. Warner Losh wrote: > In message: <4722BDBE.5030408@incunabulum.net> > Bruce M Simpson <bms@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071115130058.GA71758>