Get Going With WebAssembly
summary
Go’s wasm target compiles real Go code for the browser using GOOS=js GOARCH=wasm and wasm_exec.js, and demos show working examples: hello world, DOM manipulation via the js.Value API, net/http mapped to fetch, and a grpc-go client talking to a backend. File sizes are concrete: a standard build lands at 2.44 MB, TinyGo produces 62 KB, and a full grpc example becomes 15.6 MB. Builds use go build, TinyGo (via Docker), protoc and asset embedding, and the examples run as demonstrated.
AI-written summary · about
chapters (7)
- 0:00Intro
- 0:20WebAssembly
- 5:40WebAssembly Example
- 9:20Document Object Module
- 10:45HTTP Transport
- 13:00HTTP Client
- 15:15Conclusion
related talks
08mRunning Go in Browsers Using WASM
25mWebAssembly with Go: Powering the Web with Speed and Efficiency
37mGo, WebAssembly!
29mExperimenting with Golang and Webassembly
36mGo in the World of WebAssembly: Not Just the Browser
36mGo in the WebAssembly World: Beyond the Browser
27m"WASM: Bringing Go to the Browser (and Beyond!)"
33mThe What's, Why's, and How's of Running WebAssembly in Go
