Conversation

I wonder when 32-bit systems (regardless of underlying arch (intel, arm, mips, etc.)) will become prohibitively more expensive than 64-bit for all markets.
2
6
Replying to and
And 32-bit requires less stack and heap because pointers and other ints are half the size. This means less money spent on embedded systems memory which translates into more profits for manufacturers. Why do automakers still use ancient technology? That's why.
2
2
C ended up with a weird approach to integers from portability to a lot of weird architectures with horrible things like segmentation. POSIX chose to deal with it in a way that ends up using far more 64-bit integers than alternatives. Lots of other languages don't really do it.
1
Modern low-level languages tend to just have fixed-size integers and integers for sizes/addresses so only the ones for sizes get larger. Many older languages/libraries don't bother supporting > 2GB objects so they just use 32-bit integers so mostly only pointers end up 64-bit.