Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
petilon
· 4y ago · 0 comments
JS has access to 64-bit floating point, not int.
Comments
[–]
tyleregeto
4y ago
JS 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/Refe...
[–]
tempay
4y ago
BigInt is often orders of magnitude less performant than int32 so it's unlikely to be helpful in this situation.
[–]
pwython
4y ago
Unless you're compiling from something like Cheerp.