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
Can happily use 32-bit pointers and integers on a 64-bit architecture too. As an example, the Android Runtime uses 32-bit pointers for Kotlin/Java pointers and most of the internal pointers. Running on 64-bit also doesn't result in non-FFI libraries using more 64-bit integers.
1
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