8 ms·
That entirely pragmatic reason was to be assembler with curly braces. See memory capacity of PDP-7 and think what you can reasonably compile with those resource
by GoblinSlayer 6y ago
That entirely pragmatic reason was to be assembler with curly braces. See memory capacity of PDP-7 and think what you can reasonably compile with those resources. Fun fact: if you don't specify variable's type, modern C compiler assumes int, this is how the first C compiler worked, you don't need types in assembler, the register type (machine word) is almost the only type you deal with. Implicit function declaration is an assembler feature too.
- tannhaeuser 6y agoThat's also how tcc (simplistic and functional modern one-pass C compiler) works I guess.
- nineteen999 6y agoFirst C compiler ran on the PDP-11, rather than the PDP-7 didn't it? Not that it makes a huge different to your point.