~/talk

Practical Polyglot WebAssembly

Talkat Craft Conference 2022 · 2022-06-02..06-03· [webassembly]
links:none on file
slides:none on file

Explains using WebAssembly’s module linking, interface types and the canonical API to run JavaScript and Rust modules together with dynamic linking instead of static bundling. Shows tooling: javy/QuickJS, SpiderMonkey experiments, wit-bindgen, wasm-link modifications and wasmtime host glue. Gives concrete constraints (5 ms execution limit, 256 KB target binary) and measured results: static build ~2.2 MB, 323 µs vs dynamic composition 900 KB, 160 µs — ~50% savings.

AI-written summary · about

  1. 0:00Introduction
  2. 0:24Polyglot WebAssembly defined
  3. 1:49Shopify’s WebAssembly work
  4. 4:37WebAssembly primer
  5. 8:51Constraints for untrusted code
  6. 13:03Component model pillars
  7. 14:52Static vs dynamic linking
  8. 17:42Rust date library
  9. 20:07JavaScript consumer module
  10. 24:24Adapting module calls
  11. 25:47Refactoring wasm-link
  12. 27:10Host API setup
  13. 28:58Benchmarking results
  14. 30:43Polyglot challenges
  15. 32:29Summary
~/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.