by ZenoArrow · 10y ago · 0 comments
I don't think that'll work until WebAssembly has GC, which isn't likely to be ready for a while.
This leaves two options:
1. Go developers could write a GC especially designed to enable Go on WebAssembly.
2. Go developers could wait until WebAssembly gets its own GC implementation, and make use of that.
Considering option 2 is less work, and that a GC for WebAssembly is on the WebAssembly roadmap (check the GitHib page for details), I'd suggest option 2 is what will end up happening.