News for hackers. Stuff that matters.
Re:Why WebAssembly Is Faster Than Asm.js by runeks on Thursday March 16, 2017 @02:44AM (#13883047)
I don't get it. Why not just write the GC in WebAssembly?
Re:Why WebAssembly Is Faster Than Asm.js by skybrian on Thursday March 16, 2017 @03:29AM (#13883190)
Then you have to download it as part of the web page. It's hard to beat shipping the runtime with the browser.
Re:Why WebAssembly Is Faster Than Asm.js by Ajedi32 on Thursday March 16, 2017 @10:43AM (#13885390)
I wonder if this could be solved with a better caching system for dependencies shared between multiple sites. Maybe some kind of content-addressable cache?

If your users only have to download the language runtime once, the idea of using a runtime for a popular language on your site doesn't seem like such a bad idea. Popular runtimes could even be pre-cached and shipped with the browser.

Re:Why WebAssembly Is Faster Than Asm.js by Ericson2314 on Thursday March 16, 2017 @10:02AM (#13885047)
Also for code composition it's great if everyone is using the same VM primitives