3 ms·
The whole point of the article is that by a definition like the one you quoted, modern C is not low-level, though PDP-11 era C was.
by lmm 9y ago
The whole point of the article is that by a definition like the one you quoted, modern C is not low-level, though PDP-11 era C was.
- Shikadi 9y agoExcept what I'm saying is that PDP-11 era C wasn't low level. It incedentally took advantage of some low level features, but that wasn't by design, and wouldn't have changed its classification as a high level language at the time anyway
- richardwhiuk 9y agoThat's not true - PDP-11 era C isn't either - if you run it on a modern processor. And it's doubtful it even was then.
- lmm 9y ago> PDP-11 era C isn't either - if you run it on a modern processor. And it's doubtful it even was then. With a modern compiler C isn't low-level. But under PDP-11 era C compilers, C really did map closely to processor instructions.
- Shikadi 9y agoNot closely enough that it would have been considered low level at the time, if you look at the instruction set C isn't even close to one-to-one with the machine instructions. See https://en.m.wikipedia.org/wiki/PDP-11_architecture#Myth_of_PDP-11_influence_on_programming_languages https://en.m.wikipedia.org/wiki/PDP-11_architecture#Myth_of_... for why people might mistakenly think otherwise