3 ms·
JS has access to 64-bit floating point, not int.
by petilon 5y ago
JS has access to 64-bit floating point, not int.
- tyleregeto 5y agoJS has BigInt support, a quick Google tells me this is supported by wasm. I'm not sure if they are doing that here or not. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
- tempay 5y agoBigInt is often orders of magnitude less performant than int32 so it's unlikely to be helpful in this situation.
- pwython 5y agoUnless you're compiling from something like Cheerp.