Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2000 10:45:02 -0700 (PDT)
From:      Linh Pham <lplist@closedsrc.org>
To:        t g <unixboy007@hotmail.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: why c?
Message-ID:  <Pine.BSF.4.21.0008151042180.83027-100000@q.closedsrc.org>
In-Reply-To: <F27g6A7oPiFEW6sStwN00000d3d@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :)

// Linh Pham
// http://closedsrc.org



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?Pine.BSF.4.21.0008151042180.83027-100000>