Re:The Development of the C Language (1993)
by neonscribe on Thursday December 17, 2015 @11:34PM
(#10756659)
BCPL and B were untyped languages, where the fundamental unit of the language was a "cell" that could hold either an integer or a pointer. Also fundamental was that memory was addressable by cells, and that adding one to a pointer (which could also be an integer) must cause it to refer to the next cell. This could only be implemented efficiently on a word-addressed machine. When confronted with the byte-addressed PDP-11, they created a language where the basic unit was a "char". Fortunately, they also added types, so that the language could adapt to changing architectures. However, they were fortunate, or foresighted, in that virtually every architecture after the mid-70's was byte-addressable. C does not adapt well to word-addressed machines, but that didn't slow its adoption because word-addressed machines disappeared rapidly after C was born.
[ Parent
| on HN ]
There are no comments on this comment yet.