~/talk

[Keynote] Wasm GC and the Future of High-Level Language Compilation

slides:none on file

Grain is ported to Wasm GC using anyref everywhere and replacing call_indirect with call_ref, requiring runtime ref casts but allowing the optimizer to remove many. An empty program shrinks from 3k→300B and a hello world shows 34% size reduction. Performance: list allocation is slightly slower on Wasmtime, much faster on a Wasm interpreter, and blazingly fast on V8. Practical issues include non‑nullable local scoping, immutable recursive types that can’t be instantiated, and inefficient byte-array access; component-model interop currently needs copies.

AI-written summary · about

  1. 0:00Wasm GC introduction
  2. 1:26Why Wasm GC matters
  3. 3:10Simpler memory management
  4. 5:38New reference types
  5. 7:23Wasm GC quirks
  6. 10:13Grain’s Wasm GC case
  7. 13:44Compilation challenges
  8. 15:49Binary size impact
  9. 17:54Ecosystem benefits
  10. 19:00Q&A on subtyping
~/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.