Join Nostr
2026-10-11 08:46:23 UTC
in reply to

wicked witch of the unix on Nostr: that would be an improvement lol though if you want a more serious answer, c targets ...

that would be an improvement lol

though if you want a more serious answer, c targets the abstract machine defined on the standard

it's close to most real machines, but not quite. and thinking that c *has* to map to assembly 1:1 is how we get people hating on optimizing compilers or not understanding what stuff is doing

one example i remember, the "stack" isn't a thing; c just defines "automatic storage" variables whose storage is cleaned up when scope exits; a c implementation is free to implement those variables with things other than a stack if they'd want to