4 ms·
Out of curiosity, why are you still using 32-bit architectures?
by karelpeeters 2y ago
Out of curiosity, why are you still using 32-bit architectures?
- camgunz 2y agoDunno if this is where you're coming from, but working in 32-bit isn't that wacky. For example a very popular microcontroller [0] is 32-bit. EDIT: definitely not "maybe the most" popular [0]: https://en.wikipedia.org/wiki/ESP32 https://en.wikipedia.org/wiki/ESP32
- josephg 2y agoAs far as I know, webassembly only supports a 32 bit address space on all platforms at the moment. There’s a memory64 proposal, but it doesn’t look to be widely adopted yet.
- Rochus 2y agoIt's good enough for the majority of use cases and systems; even an eight bit MCU is sufficient for many cases. If you design a product, saving power and cost makes the difference.
- 95014_refugee 2y agoMemory efficiency just for one. For most programs, and especially in the embedded space, 64b systems carry around (and process) a lot more zeros than 32b systems do. You can still do 64b math when you need it, but you don’t have to pay for it when you don’t. Given that software is always too big, this can often be a product-making distinction.
- IshKebab 2y ago32 bit is still very common for smaller CPUs that aren't in the "application processor" class. They are cheaper because they use less area, and they're also more memory efficient because pointers are all half as big. On these CPUs you don't have 4GB of RAM so you don't need a big address space.