Adding Go to a browser code runner
Summary
An in-depth look at running Go in a browser using WebAssembly. The article compares the common GOOS=js approach with a WASI-based path (GOOS=wasip1) for browser code runners, explains why the GOOS=js route fails inside isolated-vm sandboxes, and provides a practical host shim approach for WASI imports. It includes build instructions and guidance to target WASI for sandbox-friendly code execution.