3 ms·
To be pedantic: Ritchie did not write C in Assembly, he wrote it in C. Or more accurately, version N of C was written in version N-1 of C. Version 0 of C cou
by bryanlarsen 13y ago
To be pedantic: Ritchie did not write C in Assembly, he wrote it in C. Or more accurately, version N of C was written in version N-1 of C. Version 0 of C could be compiled by the B compiler.
Your point still stands though: you need to be fairly competent at assembly language to write a compiler that emits machine code.
- uniclaude 13y agoEither you or the wikipedia article is wrong. >"The origin of C is closely tied to the development of the Unix operating system, originally implemented in assembly language on a PDP-7 by Ritchie and Thompson, incorporating several ideas from colleagues." It's also written that the B rewrite only came later.
- bryanlarsen 13y agoUnix was originally written in assembly language.