Date: Fri, 21 Jul 2006 09:09:13 -0500 From: "R. Tyler Ballance" <tyler@bleepsoft.com> To: hackers@freebsd.org Subject: Re: kern/99979: Get Ready for Kernel Module in C++ Message-ID: <9363A463-63CF-4D21-9F5E-FC7E39CFF4E4@bleepsoft.com> In-Reply-To: <20060720060434.39002.qmail@web32702.mail.mud.yahoo.com> References: <20060720060434.39002.qmail@web32702.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jul 20, 2006, at 1:04 AM, <pfgshield-freebsd@yahoo.com> <pfgshield- freebsd@yahoo.com> wrote: > FWIW; > > I went on to check that Embedded C++ that David Nugent mentioned, > and I found > this: > > http://www.caravan.net/ec2plus/ > > Acording to the Q&A section: > > "The goal of EC++ is to provide embedded systems programmers with a > subset of > C++ that is easy for the average C programmer to understand and > use. The subset > should offer upward compatibility with ISO/ANSI Standard C++ and > retain the > major advantages of C++. > To achieve the goal, several guidelines were established for > creating the > subset such as avoiding excessive memory consumption (overhead) and > removing > complex features." ... > > And also FWIW, I wouldn't object to having support for other languages > (Objective C ? ), if someone has/finds modules that could use the > features. I've been keeping track on this discussion, and I guess I'll toss my 2 cents in here. Objective-C, while a wonderful smalltalk-ish language (I use it daily), is definitely not nearly as suitable as C+ + for kernel modules, or embedded programming for that matter. The Core Audio framework on Mac OS X is mostly C++ for performance reasons, for example. Objective-C's reliance on message passing is probably as suitable for kernel modules as C# via Mono is, the runtime is a bit too bloated IMHO and because of the inherent design the two languages they just aren't suited (again IMHO) for real time work, or performance dependent functionality. Of course, if anybody has any links to anything performance intensive (audio code is the best example in my book) using either C# or ObjC then I will both be shocked and sickened ;) I really can't think of support for any other languages that would be good to add, C & C++ cover most of what the rest of the world writes their lower level code in. Cheers, - -R. Tyler Ballance -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEwN/kqO6nEJfroRsRAjyvAJ9BCvK9jC/GEWfjxFdZBbMK7UQiSgCfYRd7 VF1l80jl6vZhhJqc9dr2l3w= =XnRr -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9363A463-63CF-4D21-9F5E-FC7E39CFF4E4>