Re:What Happened to WebAssembly
by DonHopkins on Friday January 09, 2026 @09:57AM
(#46554547)
WASM can even do 32-bit integers, which JavaScript can't, so uses floats instead.
[ Parent
| on HN ]
Re:What Happened to WebAssembly
by WorldMaker on Friday January 09, 2026 @11:54AM
(#46555882)
JS has had byte arrays like Int32Array for a while. The JS engines will try to optimize math done into them/with them as integer math rather than float math, but yeah you still can't use an integer directly outside of array math.