~/talk

Turbo Rails with Rust

Talkat RubyKaigi 2015 · 2015-12-11..12-13· [ruby, rust]
slides:none on file

Shows building a native Rails extension in Rust using a small runtime library and a file format that generates glue; Rust replaces C glue with libcruby plus TRB files and encodes Ruby types safely. Benchmarks show the Rust blank implementation at about 11M iters/s versus C ~10M and Ruby ~1M, and earlier C work gave up to 20× speedups over Ruby. Focuses on static dispatch, stack allocation and ownership to get C-like speed without unsafe crashes.

AI-written summary · about

  1. 0:00Introduction
  2. 3:29Performance challenges in Ruby
  3. 6:18Optimizing with native extensions
  4. 10:07Introduction to Rust
  5. 12:25Rust memory and performance
  6. 17:26The importance of stack allocation
  7. 20:10Ownership and polymorphism
  8. 25:59Benchmarking and library tools
  9. 31:43The Turbo Ruby project
  10. 36:07Future of Ruby and ownership
~/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.