22 ms·
When C was conceived, it was made for a specific DEC CPU, for making an operating system. The idea of a C standard was in the future. If you wanted to know wha
by actionfromafar 2y ago
When C was conceived, it was made for a specific DEC CPU, for making an operating system. The idea of a C standard was in the future.
If you wanted to know what (for instance) memcpy actually did, you looked at the source code, or even more likely, the assembler or machine code output. That was "the standard".
- anticensor 2y agoNo, K&R's book was the standard.
- actionfromafar 2y agoFirst came the language, then a few years later they described it in a book.
- da_chicken 2y agoI think it's reasonable to assume that GP clearly meant the C standard being conceived, as, obviously, K&R's C implementation of the language was ad hoc rather than exhibiting any prescribed specification.