| ▲ | flohofwoe 3 hours ago | |||||||
> I had no idea WASM is 32bit until I read your article! WASM(32) is a hybrid 32/64 bit architecture. The address range (and thus pointer size) is 32 bits, but it has native 64-bit integers. E.g. it's similar to the Linux x32 ABI. There is also a 'true' 64-bit wasm, but that's still too recent to be used in real-world code: https://caniuse.com/wf-wasm-memory64 (but wasm64 doesn't really make sense unless you really need an address space greater than 32 bits, because the downside is slower performance) | ||||||||
| ▲ | jltsiren 2 hours ago | parent [-] | |||||||
> (but wasm64 doesn't really make sense unless you really need an address space greater than 32 bits, because the downside is slower performance) Or unless you need to use integer types that depend on pointer size (such as size_t or usize), but your integers are too large to fit in 32 bits. That's a pretty common occurrence in bioinformatics. I've been waiting for years for Wasm to become usable, but it looks like Apple is still holding it back. | ||||||||
| ||||||||