From owner-freebsd-questions Wed Aug 16 12:31:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id BF85C37C636 for ; Wed, 16 Aug 2000 12:20:43 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.255.97.138]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000816192040.NJAX16423.mta03-svc.ntlworld.com@parish.my.domain>; Wed, 16 Aug 2000 20:20:40 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id UAA02284; Wed, 16 Aug 2000 20:20:13 +0100 (BST) (envelope-from mark) Date: Wed, 16 Aug 2000 20:20:13 +0100 From: Mark Ovens To: Linh Pham Cc: t g , questions@freebsd.org Subject: Re: why c? Message-ID: <20000816202013.D254@parish> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from lplist@closedsrc.org on Tue, Aug 15, 2000 at 10:45:02AM -0700 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Aug 15, 2000 at 10:45:02AM -0700, Linh Pham wrote: > On Tue, 15 Aug 2000, t g mumbled: > > > 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). > > > > thanks. > > The main issue with C++ is that it's convuluted and filled with mayhem > :) > > A lot of programs are done in C mostly because it is more > cross-platform friendly than many programming languages. Meaning that > you can easily port a program written in C to run on UNIX, DOS, > Windows, etc. > > Try doing that with BASIC :) > On a more light-hearted note, http://ukug.uk.freebsd.org/~mark/write_in_C.html > // Linh Pham > // http://closedsrc.org > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message