Date: Tue, 15 Aug 2000 11:02:44 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: Kenneth Wayne Culver <culverk@wam.umd.edu> Cc: t g <unixboy007@hotmail.com>, questions@FreeBSD.ORG Subject: Re: why c? Message-ID: <20000815110244.B4854@fw.wintelcom.net> In-Reply-To: <Pine.GSO.4.21.0008151346270.2637-100000@rac2.wam.umd.edu>; from culverk@wam.umd.edu on Tue, Aug 15, 2000 at 01:46:53PM -0400 References: <F27g6A7oPiFEW6sStwN00000d3d@hotmail.com> <Pine.GSO.4.21.0008151346270.2637-100000@rac2.wam.umd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, 15 Aug 2000, t g wrote: > > > i've been trying to learn unix off and on for a while now, and i finally > > trashed windoze ;-) now i'm running freebsd 4.0-release (only... no more > > windows at all!). > > > > anyway, when i was in college (not to long ago) i took a number of > > programming classes and all but one of them used c++. so, my question is, > > why is everything written in c? is it simply because unix was written > > before c++, or is c better for an os? > > > > i'm also interested in a good book on programming operating system if anyone > > has a recommendation (doesn't have to be geared toward unix). > > * Kenneth Wayne Culver <culverk@wam.umd.edu> [000815 10:50] wrote: > I know that one reason that UNIX is still mostly C is because C binaries > are a lot smaller and faster. Well as far as the OS itself (kernel) afaik a lot of C++'s 'features' require support that's not present in the kernel for such things as exceptions and templates you have too many side-effects going on that cause problems. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000815110244.B4854>