Google Answers Logo
View Question
 
Q: What Language Was C Written In? ( Answered,   0 Comments )
Question  
Subject: What Language Was C Written In?
Category: Computers > Programming
Asked by: trent44-ga
List Price: $16.00
Posted: 01 May 2003 01:31 PDT
Expires: 31 May 2003 01:31 PDT
Question ID: 197863
In 1970 by dennis ritchie but what language did he write it in?
Answer  
Subject: Re: What Language Was C Written In?
Answered By: seizer-ga on 01 May 2003 01:59 PDT
 
Hi there trent!

Who better to ask than the man himself? In an article entitled "The
Development of the C language" (also cheekily called "Christory") he
explains the origins of the language.

It turns out that C was not a spontaneous creation, but a gradual
migration from a language called B, which preceeded it (and itself
came from a language called BCPL). B was used on the PDP-7, and then
ported to the new PDP-11. At this point, with more memory available to
him, and more compiler writing experience, Dennis Ritchie created an
extension to B which he called "NB" (for "new B"). As he added more
features to this language (including a type system!) he eventually
felt it justified a new name - and he called it C. He says that he is
leaving the question open whether he named it as an alphabetic
progression, or whether he named it for the second letter of "BCPL".
Here's the article:

http://cm.bell-labs.com/cm/cs/who/dmr/chist.html

It actually suggests that the first C compiler was written in 1971,
not 1970. He doesn't say at what point C became self-hosting (ie: when
he wrote a C compiler in C, rather than B) but you can see one of his
earliest C compilers, written in C in 1972, here:

http://cm.bell-labs.com/cm/cs/who/dmr/primevalC.html

I hope this answers your question! If anything's unclear, please don't
hesitate to request clarification before rating this answer!

All the best,

--seizer-ga

Search strategy:

"history of C"
"first C compiler"
ritchie origins C
Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy