Experimenting with Golang and Webassembly
summary
Compiles Go to WebAssembly using the Go toolchain (example command go build -o main.wasm inside a Docker container), loads the runtime shim wasm_exec.js from the Go repo, serves with a small Caddy webserver and runs in Node and the browser; demos include a DOM-backed add/subtract form that returns 4+4=8 and a console “hello” proof of execution. Claims near‑native speed but no benchmarks shown; notes sandboxing, no filesystem access, limited threading and planned WASI/GC work.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:06Hidden slide
- 0:57Disclaimer
- 1:21Poll time- Raise your hands if you...
- 3:46What I am going (try) to answer
- 4:16What is WebAssembly (aka wasm)
- 6:35Why WASM if we have Javascript?
- 14:32What does this have to do with Golang?
- 24:06Slide if everything went wrong
- 25:54Limitations of WebAssembly and future
- 27:31Summary
- 28:27Resources
related talks
25mWebAssembly with Go: Powering the Web with Speed and Efficiency
08mRunning Go in Browsers Using WASM
37mGo, WebAssembly!
33mThe What's, Why's, and How's of Running WebAssembly in Go
36mGo in the WebAssembly World: Beyond the Browser
36mGo in the World of WebAssembly: Not Just the Browser
18mGet Going With WebAssembly
48mWebAssembly Beyond the Browser
