3 ms·
> you’re now not limited to the tooling just in the browser and you can run all of that offline in a server When it comes to DOM interaction (a key part of thi
by untog 6y ago
> you’re now not limited to the tooling just in the browser and you can run all of that offline in a server
When it comes to DOM interaction (a key part of this article) you absolutely can’t.
I see the logic in compiling a native library to Rust and using it via WASM. It’s the part where you bring the whole DOM WASM-side that I’m sceptical about.
As you say, tooling isn’t there yet. Is performance even there yet? Last I heard WASM<->DOM interaction incurs a performance penalty. Right now it all feels like a “because I can” capability. I’m not saying that will always be the case, but for right here and now I’m sceptical.
- swsieber 6y agoYou can write your stuff in such a way to minimize the WASM<->DOM interactions. And there is a speed benefit for pure WASM stuff, so I can see it being a net win if you're using a good framework that pushes you in the right direction.