Re:Why WebAssembly Is Faster Than Asm.js
by runeks on Thursday March 16, 2017 @02:38AM
(#13883023)
What about Haskell, which compiles everything - including the garbage collector - into a static binary? Or is it not possible to have GC-thread running with WebAssembly?
[ Parent
| on HN ]
I can't remember if threading support is in yet, but it should be possible. The downside is that it will be a rather hefty binary the user has to download.
Re:Why WebAssembly Is Faster Than Asm.js
by markdog12 on Thursday March 16, 2017 @09:39AM
(#13884878)
No threads yet, they're coming though: http://webassembly.org/docs/future-features/
Eh, cut one tracking script or bloated PNG and you've saved a lot of download size.
Re:Why WebAssembly Is Faster Than Asm.js
by munificent on Thursday March 16, 2017 @02:27PM
(#13887563)
That's doable, but it means your application needs to include the runtime and GC. That's a lot of code to push down the wire.