~/talk

Whose Memory is it Anyway

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [ruby]
links:none on file
slides:none on file

Implements two concrete JIT passes for Ziji: a load elimination pass that replaces repeated load_field with cached values and a dead store elimination pass that removes redundant store_field writes during object initialization. Uses Ziji’s SSA HIR, Rust codebase, an effect system and lattice-based abstract interpretation to make the passes linear-time. Handles shape transitions, right barriers, C calls and aliasing by conservative cache flushes. Microbenchmarks show several× speedup over the interpreter and meaningfully closes the gap on instance-variable-heavy code.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:35Memory optimization in JITs
  3. 8:53Object initialization in HIR
  4. 12:02Optimization pass sketch
  5. 16:46Abstract domains and lattices
  6. 21:25Practical lattice example
  7. 24:56Designing optimization passes
  8. 25:39Lessons learned and call to action
~/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.