~/talk

LLVM-based JIT compiler for MRI byTakashi Kokubun

Talkat RubyConf 2017 · 2017-11-15..11-17· [ruby]
slides:none on file

Experiment builds an LLVM-based JIT for MRI that compiles YARV ISeq to LLVM IR or generates C and produces .so via Clang, uses inlining and LICM, runs compilation in a background thread with fallback to bytecode, skips setjmp, and leverages precompiled VM headers. LLRB hits 5× faster with LLRB while MJIT and YARV-MJIT reach roughly 2–3× speedups, YARV-MJIT avoids changing VM instructions and passes core tests so it actually works and is safe to try.

AI-written summary · about

  1. 0:00Introduction
  2. 2:36What is JIT
  3. 6:00Why JIT
  4. 9:24Implementations
  5. 10:28Motivation
  6. 16:21Image
  7. 25:50Optimizations
~/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.