~/talk

Compiling Ruby scripts

Talkat RubyKaigi 2015 · 2015-12-11..12-13· [ruby, compilers-and-language-design]
slides:none on file

Ruby VM now serializes instruction sequences to disk with iseq.to_binary and reloads them with load_from_binary, aiming for an ahead-of-time compiler to cut boot and multi-process memory costs. Implementation adds a loader hook for custom storage (file, DBM, repo) and lazy-loading of iseqs. Results: cold load of a large stdlib file drops from ~13.2s to 3.9s (2.4s with preloaded binary); produced binaries are large (~337 KB each) and memory sharing is not yet solved.

AI-written summary · about

  1. 0:00Introduction
  2. 5:59Compiling Ruby scripts
  3. 14:57Implementation and lazy loading
  4. 20:16API and file management
  5. 28:21Experimental results
  6. 31:56Summary and future work
  7. 32:38Q&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.