WASM vs JS Performance
The cluster discusses the performance differences between WebAssembly (WASM) and JavaScript in browsers, including benchmarks, speedups for compute-heavy tasks, limitations with DOM manipulation, and comparisons to native code.
Activity Over Time
Top Contributors
Keywords
Sample Comments
WASM is more efficient than JS...
With WASM it might actually run faster in the browser as well.
Are there benchmarks where the wasm engine of a browser beats the Js engine of the same browser in compute heavy code?
what if wasm become production ready... dont u think that cpu intensive will be native and difference will be somewhat closer?
wasm provides more than _just_ a speed improvement
Even WASM doesn't have native performance, so I question this claim.
Can we save more CPU time if we use wasm to replace js?
No, most things will still be done in javascript as the benefit of doing it in Wasm is negligible.
wow, had no idea Wasm is that much faster than JS
Why would someone think that the purpose of WASM is to speed up JavaScript?