News for hackers. Stuff that matters.
Re:AssemblyScript: A Subset of TypeScript That Compiles to W... by disordinary on Wednesday September 06, 2017 @10:43PM (#15188791)
I haven't looked into it too much, my only experiments were really around DOM manipulation which incurred a huge slowdown.
Re:AssemblyScript: A Subset of TypeScript That Compiles to W... by geofft on Wednesday September 06, 2017 @10:53PM (#15188838)
Sure, 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.
Re:AssemblyScript: A Subset of TypeScript That Compiles to W... by disordinary on Wednesday September 06, 2017 @11:27PM (#15188959)
That'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.