logoalt Hacker News

Ungh • today at 3:34 PM • 1 reply • view on HN

There's the voice of a C programmer who hasn't used hardware with a different word size to address space...


Replies

AnimalMuppet • today at 4:48 PM

But (almost) every hardware has some integer type that has the same size as what is needed to represent the address space, because (almost) every hardware has some way of manipulating addresses at the assembly level, and (almost) every C implementation has some integer type that generates those assembly instructions.

I say "almost" because I am not absolutely certain that this is true of absolutely every architecture. Feel free to point out one that breaks these rules, if there is one.

➕ show 2 replies