Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
petilon
on Feb 24, 2022
|
parent
|
context
|
favorite
| on:
Stockfish.js
JS has access to 64-bit floating point, not int.
tyleregeto
on Feb 24, 2022
|
next
[–]
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
on Feb 24, 2022
|
parent
|
next
[–]
BigInt is often orders of magnitude less performant than int32 so it's unlikely to be helpful in this situation.
pwython
on Feb 24, 2022
|
prev
[–]
Unless you're compiling from something like Cheerp.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: