2 ms·
> C dates to 1969. It was used to write Unix, the first release of which was 1969. Wrong. Early Unix was written in assembly, the machine was too small for any
by acqq 8y ago
> C dates to 1969. It was used to write Unix, the first release of which was 1969.
Wrong. Early Unix was written in assembly, the machine was too small for anything else and moreover C didn't exist then. From the DMR's chist link (1) that you also refer to:
"Dennis Ritchie turned B into C during 1971-73"
Even B was definitely not used to write the Unix of 1969-1973, but only run on it:
"On the PDP-7 Unix system, only a few things were written in B except B itself, because the machine was too small and too slow to do more than experiment; rewriting the operating system and the utilities wholly into B was too expensive a step to seem feasible."
Unix kernel was rewritten from assembly to C only in 1973:
"By early 1973, the essentials of modern C were complete. The language and compiler were strong enough to permit us to rewrite the Unix kernel for the PDP-11 in C during the summer of that year. "
The first Pascal compiler existed in 1970 which was inspired by Algol 60. Wirth was in its "Working Group 2.1" in 1964. (2) Wirth published an article about Pascal in ACM in 1971.
Finally, in the Go language (from 2009), in which Thompson was also involved, the declarations follow more the Pascal spirit than the C spirit.
1) http://www.bell-labs.com/usr/dmr/www/chist.html http://www.bell-labs.com/usr/dmr/www/chist.html
2) http://pascal.hansotten.com/niklaus-wirth/recollections-about-the-development-of-pascal/ http://pascal.hansotten.com/niklaus-wirth/recollections-abou...