~/talk

Ruby Internals: A Guide For Rails Developers

Talkat RailsConf 2025 · 2025-07-08..07-10· [ruby]
slides:none on file

Shows how a tiny interpreter and a stack VM are built from lexer to bytecode and executed, demonstrates a compiler pass that flattens ASTs into sequential instructions, and measures how microchanges matter: a compiler-side fast path makes addition about 20% faster, JITs like YJIT (implemented in Rust) yield ~10–30% Rails speedups, and a Shopify benchmark finds some pure-Ruby paths faster than C extensions; Prism adoption is concrete too — Prism becomes default parser in Ruby 3.4.

AI-written summary · about

  1. 0:00Introduction to Ruby
  2. 1:10Text processing and parsing
  3. 2:36Building a basic tokenizer
  4. 5:36Parsing expressions and ASTs
  5. 8:51Interpreting code
  6. 10:40Legacy Ruby architecture
  7. 14:07Compiler and VM fundamentals
  8. 17:11VM execution and inspection
  9. 19:03Parsers and ecosystem impact
  10. 21:28Performance optimization
  11. 24:14The future of Ruby
  12. 26:00Conclusion and resources
~/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.