4 ms·
> but with no access to the DOM There will be access to the DOM, but even without it, WebAssembly is still useful. You compile libraries that are performance
by grondilu 9y ago
> but with no access to the DOM
There will be access to the DOM, but even without it, WebAssembly is still useful.
You compile libraries that are performance sensitive, you use them from you JS code, and voilà, you have the best of both words : the flexibility and DOM access with JS, and the speed of compiled code with wasm.
- atonse 9y agoGood point – I didn't it wasn't useful, just that there are a lot of people who think that you will be compiling React.js or jQuery as-is to WebAssembly, and just shipping them that way. That's just not how it'll work.