Re:What Happened to WebAssembly
by gritzko on Friday January 09, 2026 @04:04AM
(#46551617)
Yep. These things have been solved by massive investments. The question is, can WASM as a language (not an implementation) do something JavaScript can't?
[ Parent
| on HN ]
Re:What Happened to WebAssembly
by moralestapia on Friday January 09, 2026 @04:09AM
(#46551658)
The answer to that is no. But innovating at the language level was never a goal for WASM; quite the opposite, as simple as possible so it can be compiled and run anywhere.
Wasm can do 64-bit integers, SIMD and statically typed GC classes.
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.
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.
Re:What Happened to WebAssembly
by davidmurdoch on Friday January 09, 2026 @10:25AM
(#46554849)
JS could have had support for SIMD and 64 bit it's by now, and progress was actually being made (mostly just through the asm.js experiments), but it was deprioritized specifically to work on WASM.