3 ms·
So K&R C wasn't proper C?
by DeathArrow 2y ago
So K&R C wasn't proper C?
- shzhdbi09gv8ioi 2y agoIt predates the first standardized C versions: * ANSI C by 11 years (C89) * ISO C by 12 years (C90) https://en.wikipedia.org/wiki/C_(programming_language)#K&R_C https://en.wikipedia.org/wiki/C_(programming_language)#K&R_C
- ngcc_hk 2y agoSo strange. Someone invented a computer language called C and is not proper C until it is stabdardised by a committee. I would say the original C is proper C. Got a whole operating system to run with it. Organisation is nothing if we do not accept individual’s role.
- pjmlp 2y agoThe C language as invented for porting UNIX does not fit into a NES, nor does it expose its hardware capabilities.
- pjmlp 2y agoNot the subset you can fit onto a 6502, thus that subset fits the same purpose as K&R C, a portable macro assembler, calling into functions that are written in raw Assembly, compiled by an external macro Assembler. And good luck making good use of 6502 registers for C code.