Hacker News new | ask | show | jobs
by DeathArrow 756 days ago
So K&R C wasn't proper C?
2 comments

It 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
So 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.

The C language as invented for porting UNIX does not fit into a NES, nor does it expose its hardware capabilities.
Not 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.