4 ms·
I haven't looked into it too much, my only experiments were really around DOM manipulation which incurred a huge slowdown.
by disordinary 9y ago
I haven't looked into it too much, my only experiments were really around DOM manipulation which incurred a huge slowdown.
- geofft 9y agoSure, but you can't avoid that slowdown by compiling your TypeScript to wasm, can you? DOM is a platform API, and you only get to interact with it in the way the platform allows you to.
- disordinary 9y agoThat's right. So WASM is only a benefit if you're not doing anything with the DOM. I see the main use cases outside of games will be intensive computing tasks. For instance Glimmer/Ember could run it's VM on a different thread using WebWorkers and WASM, the same could go for React and it's virtual dom.