4 ms·
You're obviously wrong in that WASM does not executes faster than JavaScript in any meaningful metric, case in point: browser cryptominers.
by Franciscouzo 7y ago
You're obviously wrong in that WASM does not executes faster than JavaScript in any meaningful metric, case in point: browser cryptominers.
- hu3 7y agoCool but when it comes to DOM manipulation, which is what matter for most, WASM is much slower due to being bottlenecked by a JS bridge.
- adev_ 7y ago> Cool but when it comes to DOM manipulation, which is what matter for most. Try to say to anyone making 2D/3D games in web browser using Canvas/WebGL that DOM manipulation is the only thing that matter. And look to their reaction, just to laugh a bit.
- hu3 7y ago2D/3D browser games is a niche. Far from being JS common use case. Even more so in the context of this article. First paragraph: > We will demonstrate how to do a complete port of a web application from React+Redux written in JavaScript to WebAssembly (WASM) with Rust.