Re:Universal Binaries Using WASM
by int_19h on Tuesday February 26, 2019 @07:05PM
(#19259663)
Wait... why? What's the limiting factor?
[ Parent
| on HN ]
Re:Universal Binaries Using WASM
by steveklabnik on Tuesday February 26, 2019 @10:55PM
(#19260737)
there’s not a lot of reason to. In the browser, you already have a JS environment. It’s easier to add a wasm environment to it than it is to re-write the world. Additionally, wasm doesn’t have a GC, and is not really optimized for dynamic languages, so there’s just not a lot of reason to do it.
Oh, I thought you mean that there's some fundamental reason why it can't be done. Ofc it's pointless today, but I wouldn't be surprised if JS in browsers eventually becomes a layer on top of wasm.