Go compiler running entirely in your browser
This is the Go compiler ("gc") compiled for WASM, running in your browser! It can be used to run a simple playground, à la play.golang.org entirely in your browser!
You can try it out here: https://ccbrown.github.io/wasm-go-playground
One potential use-case for this is making compiler changes easily and freely available for people to try out.
If you're interested in trying out the
tryproposal, you can do so here: https://ccbrown.github.io/wasm-go-playground/experimental/try-builtin/
If you're interested in trying out generics draft design, you can do so here: https://ccbrown.github.io/wasm-go-playground/experimental/generics/
GOOS=js GOARCH=wasm go build .from the Go source directories.