Re:A first look at WebAssembly performance
by flohofwoe on Thursday February 09, 2017 @04:05AM
(#13605614)
Probably yes ;) Javascript is already compiled down to machine code for quite a while. And if the code is very 'static' (like asm.js) the JS engine will leave the code alone, and the garbage collector will be inactive. Performance between asm.js and WebAssembly is pretty much the identical at the moment, with 10% to 20% disadvantage vs native there isn't that much room for drastic improvement. I think WebAssembly will mostly bring improvements for 64-bit integer operations and vector math, but for average integer and floating point code, JS is already very fast.
[ Parent
| on HN ]
Re:A first look at WebAssembly performance
by amelius on Thursday February 09, 2017 @04:11AM
(#13605625)
I think the biggest advantage of WASM will be predictable performance. E.g., no sudden garbage collector pauses, and more predictable across different browser brands (eventually).
Re:A first look at WebAssembly performance
by singularity2001 on Thursday February 09, 2017 @04:56AM
(#13605792)
>> Javascript is already compiled down to machine code for quite a while.
oh really?