r/programming • • May 01 '18

C Is Not a Low-level Language - ACM Queue

https://queue.acm.org/detail.cfm?id=3212479
152 Upvotes

303 comments sorted by

View all comments

Show parent comments

10

u/monocasa May 01 '18

This is a meme. This meme is false. The pdp11 is close enough to most modern architectures that it would not have affected the design of C too much.

To be fair, modern architectures were designed to run C well. That was the whole point of RISC, take a look at what a compiler actually emits and make a core that runs just that.

3

u/pdp10 May 01 '18

That's not any more true than that the PDP-11 happened to put together an architecture that was so good it was the basis for the majority of what came after it.

But there were plenty of exceptions that had a chance to be successful in the market. The Lisp machines (influenced by the very different PDP-10) were made by at least three and a half companies, but managed not to take over the market. PDPs and VAXes weren't designed to run C. The Motorola 68000 was highly influenced by the PDP-11. The 8086 wasn't designed to run C, but beat out the mostly-68k and RISC workstations in volume.

0

u/monocasa May 01 '18

Everything you listed that wasn't RISC was designed 30+ years ago, and is nowhere near a modern architecture.