~/talk

Introduction to CRuby source code

Talkat LA RubyConf 2014 · 2014-02-06..02-08· [ruby]
slides:none on file

Shows how to build CRuby from source (git checkout, ./configure, -O0 -g then make && make check with ~13,000 tests), how to point PATH/GEM_HOME, and how to attach lldb/GDB/Xcode for C‑level debugging. Points to concrete files like array.c and numeric implementations, demonstrates adding C methods to Fixnum and creating a C long array with malloc, and gives measured speedups (examples: 10–50×, up to 30× for fib, uploader claims CRuby can be 100 times faster for hot code).

AI-written summary · about

  1. 0:00CRuby source code
  2. 3:16Building Ruby from source
  3. 8:27Debugger setup for CRuby
  4. 10:13CRuby folder structure
  5. 16:26Adding methods to classes
  6. 19:14C extensions for performance
  7. 23:25Optimized C arrays
  8. 26:59Performance with C extensions
  9. 27:20Key takeaways
~/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.