~/talk

WebAssembly GC

Talkat CodeFest 12 · 2022-05-28..05-29· [webassembly]
links:none on file
slides:none on file

Wasm GC adds concrete heap-allocated structs, arrays, and reference types plus new bytecode ops (field.get/field.set, array access, unboxed scalars) so high-level GC languages can compile to Wasm without bundling a 100+ MB runtime. The proposal reaches stage 2 and browsers already ship partial support (Firefox uses a separate GC heap; other engines tie into the JS heap). Type-checking switched from slow equirecursive equality to recursively grouped types with explicit supertypes for linear-time checks. Go-style runtimes remain an exception.

AI-written summary · about

  1. 0:00Introduction and disclaimer
  2. 1:12What is WebAssembly
  3. 2:17Garbage collection basics
  4. 3:20Challenges with GC in WebAssembly
  5. 4:45Goals of WebAssembly GC
  6. 5:51History of WebAssembly GC
  7. 7:17WebAssembly GC proposal status
  8. 8:01New type system in WebAssembly
  9. 10:09Why WebAssembly needs a type system
  10. 14:45Type systems overview
  11. 17:39Recursive types approaches
  12. 22:13Final recursive type system
  13. 22:57JavaScript interaction with GC
  14. 25:44Q&A introduction
  15. 26:04Dynamic vs fixed arrays in WebAssembly
  16. 26:24WebAssembly GC outside browsers
  17. 27:28Reducing app size with GC
  18. 28:53GC generations in browsers
  19. 30:18Inlining types in structures
  20. 31:04Feature compatibility and releases
  21. 32:09Memory safety in WebAssembly
  22. 33:14Caching GC modules
  23. 34:25Compiling JavaScript to WebAssembly
  24. 35:31Why JavaScript fits WebAssembly
  25. 36:37Future of GC in WebAssembly
  26. 37:02Memory layouts for cache efficiency
  27. 38:05GC limitations with Go
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.