~/talk

"WASM: Bringing Go to the Browser (and Beyond!)"

Talkat GothamGo 2019 · on Friday, 2019-04-12· [go, webassembly]
slides:none on file

Go 1.11 compiles Go into WebAssembly using GOOS=js GOARCH=wasm plus the syscall/js package and the provided wasmexec glue, letting Go call into DOM and expose Go functions to JavaScript. Demo converts a JS byte array image to grayscale with the Go image library and returns a JS typed array. CloudFlare Workers run the same WASM endpoint (gabbi.fish/grayscale). Containers add ~500ms cold start; Go WASM currently asks for ~1GB but work targets ~16MB.

AI-written summary · about

  1. 0:00Start
  2. 1:14Go Development Cycle
  3. 2:06Browser Environment
  4. 3:34Web Assembly
  5. 5:03Tooling
  6. 5:40Disclaimer
  7. 7:27Expose Go to Javascript
  8. 12:36Scope Class
  9. 13:16Import Object
  10. 15:32Demo
  11. 24:45Memory Usage
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.