3 ms·
I don't think Go works with WASM, because it uses a GC.
by k__ 9y ago
I don't think Go works with WASM, because it uses a GC.
- anentropic 9y agoisn't the GC part of the Go program that gets compiled to WASM though? The Haskell crowd seemed to think that was how it would work for them: https://www.reddit.com/r/haskell/comments/5ydqrc/compiling_to_webassembly/deq0z6m/ https://www.reddit.com/r/haskell/comments/5ydqrc/compiling_t...
- hackcasual 9y agoNot sure that's working. A lot of GC designs need access to program state, like what's currently on the stack, that's not available in WebAssembly.
- dragonwriter 9y ago> I don't think Go works with WASM, because it uses a GC. So? To WASM, how is the GC different from manual allocation, since it's just explicit manual allocation/deallocation in the underlying runtime that gets compiled to WASM.