~/talk

Why Do We Need Our Own Bytecode Machine?

Talkat GoWayFest 3.0 2019 Β· on Friday, 2019-07-05Β· [go]
slides:none on file

Backend for a flight-price search serving 3M queries/day across 700+ providers has half a gigabyte of config expressions that grow into ASTs with thousands of nodes, so a custom stack-based bytecode VM replaces recursive traversal and yields 2–10x raw speedups. An optimizing compiler adds constant folding and rewrites in-array checks to in-map checks, plus inlineable built-in macros; a small debugger shows bytecode and breakpoints. Benchmarks show ~2x win versus existing interpreters; static typing prevents invalid saved expressions.

AI-written summary Β· about

  1. 0:00Introduction and background
  2. 1:48Problem with expression evaluation
  3. 2:34Bytecode machine concept
  4. 3:16Optimizing compiler techniques
  5. 4:22Debugger and demo
  6. 5:39Performance benchmarks
  7. 6:26Q&A session
~/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.