~/talk

Reading Ruby - A Visual Walkthrough of the Source Code

Talkat RubyConf India 2024 · 2024-11-29..11-30· [ruby]
slides:none on file

A visual walkthrough of Ruby’s source shows concrete entry points: start with MiniRuby to avoid circular build dependencies and run smaller experiments, inspect standard-library gems first, and read Ruby-level tests before diving into large C files. Line-counts from the cloc tool show Ruby rising to ~77% while C falls to ~22% in 3.3, with ~22k Rust lines from YJIT by Shopify. Use cursor or notebook LM plus the shrine gem for top‑down summaries.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:33Why read open source code
  3. 4:47Ruby language composition
  4. 11:12RubyVernac project insights
  5. 13:50Where to start reading Ruby code
  6. 16:47Experimenting with MiniRuby
  7. 17:50Reading C code with test cases
  8. 18:55AI tools for code reading
  9. 22:36Curiosity and verification tips
  10. 23:01Conclusion 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.