126 ms·
Brad Fitzgerald created a github bug to track the issue: https://github.com/golang/go/issues/18892 https://github.com/golang/go/issues/18892 From what I unders
by loudmax 9y ago
Brad Fitzgerald created a github bug to track the issue:
https://github.com/golang/go/issues/18892 https://github.com/golang/go/issues/18892
From what I understand, the WebAssembly team is working on their own GC and the Go team would like to use that rather than rolling their own for this target. Also, WebAssembly doesn't have threads yet, which is pretty important for Go.
In short, Go in WASM isn't there yet, but it is most likely coming at some point. I expect most popular languages will be ported to WebAssembly at some point, but IMHO Go itself is far more suited to running backend services than in the browser.