Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Base Language
Message
From
01/03/1999 14:00:43
 
 
To
01/03/1999 08:21:29
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00191884
Message ID:
00192787
Views:
15
>>Bill,
>>
>>An interesting anecdote for you.
>>
>>Kernin and Ritchie wrote C in C so they ahd a language to use to write Unix. It is named C because A and B didn't work.

According to The C Programming Language by Brian W. Kernigan and Dennis M. Ritchie (c)1978:

"Many of the most important ideas of C stem from the considerably older, but still quite vital, language BCPL, developed by Martin Richards. The influence of BCPL on C proceeded indirectly through the language B, which was written by Ken Thompson in 1970 for the first UNIX system on the PDB-7."
(pg. 2)

There is no reference to any language named A.
BCPL is Basic Compiled Programming Language and has no relation to BASIC.

>>
>>I would bet a dollar that VC++ is written in VC++. Sort a chicken and egg situation.
>
>Interesting. Thanks Jim. I didn't know C was written in C, tho I did know that C was the "result" of A and B ( the languages, not algebra :-) ).
>
>But would VC++6 be written in VC++5 ( similar to VB6, VFP6, etc. )? And if so, how do the previous C bugs propagate to the new version?

The types of operations performed by a compiler are low level and do not have direct correspondence to the source language. The compiler could be written in any language the provides the required operators. The first compiler was an assembler written in machine code. A compiler for any language can be written in any other language that is capable of the required I/O. It is just that some languages have features or syntax that make them better suited to the task of implimenting a compiler.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform