logoalt Hacker News

techbrovanguardtoday at 3:12 PM4 repliesview on HN

> C is an abstraction of the machine, so thin it's nearly transparent.

Looks like someone fell for the C abstract machine trap yet again. No, C is isn’t an abstraction of the machine.


Replies

poncho_romerotoday at 4:50 PM

C Is Not a Low-level Language: Your computer is not a fast PDP-11.

https://spawn-queue.acm.org/doi/10.1145/3212477.3212479

show 1 reply
nicebytetoday at 10:02 PM

they're technically not wrong. C is literally an "abstraction" of the machine. As we know, the whole point of an abstraction is to ignore the multitude of details :-)

skydhashtoday at 4:53 PM

It may not be an abstraction of a real machine. But the C abstract machine is very close to the foundational idea of how a computer work. And it’s quite easy to bootstrap.

show 1 reply