From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public From: Patricia Shanahan Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/16 Message-ID: <3446C003.424DADF4@acm.org>#1/1 X-Deja-AN: 281094665 References: <61g30t$o2n@news-rocq.inria.fr> <61ho3v$3m0$1@goanna.cs.rmit.edu.au> <61koun$dlb@news.informix.com> Organization: Who? Me? Organized? Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec David Gould wrote: > > In article , > Joseph H Allen wrote: > >In article <61ho3v$3m0$1@goanna.cs.rmit.edu.au>, > >Richard A. O'Keefe wrote: > >> nice features of older languages and C9x... > > > >The real question is why has C caught on in such a big way when other > >more powerful languages have not? There are several answers: > > [many good reasons deleted] > > I am surprised that no-one has mentioned what may be the most important > reason for the success of C: "The C Programming Language" by messrs K & R. > An excellent book, far better than the language described. A religious text > almost. After reading it, especially early in a career, one is convinced that > "C" not only makes sense, but is even "the right way". ... During the architectural explosion in the mid-80's I was languages project leader at a one of the numerous small computer manufacturers that cropped up and died out. My absolute, unquestionable, MUST-make-this-objective first priority when I started on the compilers was to have a C cross compiler running on a VAX but generating code for my employer's instruction set by a specified date shortly before the first prototype hardware was due to be available. I undertook that project with NO discussion of the technical merits or otherwise of C, or of our prospective customers' language needs - I expected them to use more Fortran than C. To have a usable system for the amount of money we could raise in venture capital we had to take advantage of one of the all-time bargains in computing - a 1980's UNIX source code license. Any other approach to getting an OS, file system, utilities etc. would have cost too much and taken too long. Most of the source code, including all the OS source code that we were going to preserve, was in C. You could get a UNIX system working with a totally flaky or nonexistant Fortran, Pascal, or Lisp, but producing a working UNIX system with all the commands implies possession of something more-or-less reasonable in the way of a C compiler. I suspect that this affected writers of programs that needed to run on multiple systems - if C was the only language that turned out to be reasonably reliable on all of their target systems, what were they going to code in?