Date: Wed, 12 Jul 2006 16:10:29 +0200 (CEST) From: <pfgshield-freebsd@yahoo.com> To: Peter Jeremy <peterjeremy@optushome.com.au> Cc: freebsd-hackers@freebsd.org, mag@intron.ac Subject: Re: kern/99979: Get Ready for Kernel Module in C++ Message-ID: <20060712141029.35239.qmail@web32707.mail.mud.yahoo.com> In-Reply-To: <20060712090019.GA723@turion.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Peter Jeremy <peterjeremy@optushome.com.au> ha scritto: ... > > I think the general concensus is that it's up to one of the proponents > of this to actually implement it and demonstrate that it works and has > no undesirable side-effects. > I only wanted to point out that Darwin modules are not the only port candidates that want to use C++. While existing code will not be revamped to C++, we must weight exactly what we find acceptable for use in the kernel, and I'm glad the people doing the port brought this up before expecting to commit undesired features. > >http://www.bug-br.org.br/openbfs/index.phtml?section=development > ... > >- Nicer code > >- Easier to maintain > > These are both very subjective. For someone who isn't comfortable with > C++, I doubt either are true. > Yes. it's subjective. I admitedly prefer C over C++, and I'm glad to have kobj() but it remains to be seen if it can really replace C++ for all our needs. C++ is the de-facto standard for OO: a lot of people know how to use it and since it was always meant to be an extension to C, C programs are expected to build just the same (I know ... C99 broke some of this). cheers, Pedro. Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060712141029.35239.qmail>