~/talk

A Fast In-Place Interpreter for WebAssembly

Talkat OOPSLA 2022 · 2022-12-05..12-10· [webassembly, compilers-and-language-design]
links:none on file
slides:none on file

Builds a handwritten-assembly in-place interpreter for WebAssembly called Wizards using Virgil and shows it runs as fast as many rewriting interpreters while using far less memory. The key data: a constant-time side table adds ~0.3 output bytes per input byte, value tags cost ~8–10% of runtime, threaded dispatch yields up to ~40% speedup, shrinking dispatch entries to 4 bytes gives ~5% benefit, and interpreters remain roughly an order of magnitude slower than optimizing compilers but beat compilers for short-lived code.

AI-written summary · about

  1. 0:00The history of WebAssembly
  2. 1:32Compiler tiers and limitations
  3. 2:32The need for a new approach
  4. 4:48Side table architecture
  5. 7:10Implementation challenges
  6. 9:24Fine-tuning the interpreter
  7. 13:04Performance results
  8. 14:07Benchmarking and trade-offs
  9. 17:34Multi-dimensional analysis
  10. 20:11Instrumentation capabilities
  11. 22:40Key takeaways
  12. 24:02Future work and Q&A
~/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.