~/talk

Exit(ing) Through the YJIT

Talkat RubyConf 2022 · 2022-11-29..12-01· [ruby]
slides:none on file

Built a YJIT tracer that records every side‑exit backtrace and marshals dumps so stackprof can walk them, revealing the exact Ruby file and line causing exits. Implementation starts in C then is rewritten in Rust to target x86 and ARM. Running it on Rails surfaces concrete data (example: ops_without_block ≈ 43% of exits), lets engineers choose whether to implement missing instructions like check_match or refactor code, and it works end to end.

AI-written summary · about

  1. 0:00Start
  2. 9:40Pre-requisites
  3. 11:11Configure Ruby: Set prefix
  4. 11:42Configure Ruby: Disable rdoc
  5. 12:57YJIT dev mode
  6. 22:46Fixing broken code
~/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.