~/talk

What Rust can teach us about Ruby

Talkat RubyConf Portugal 2015 · 2015-09-14..09-15· [rust, ruby]
slides:none on file

Compares Ruby’s runtime pipeline—tokenize, parse, compile, execute—and MRI bytecode with Rust’s ahead‑of‑time compilation, showing how Rust’s monomorphization turns generic calls into specialized functions and cuts call overhead (example down from 82 to 30 instructions). Notes Ruby method lookup walking an ancestor chain (one real case had 25 ancestors), recommends Ruby under a Microscope, and contrasts Rust’s tooling and distribution (produces a binary, uses Cargo (Rust’s bundler)) and the tradeoff between Ruby’s dynamism and Rust’s static optimizations.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05What are abstractions
  3. 2:19Turtles
  4. 2:55Abstractions
  5. 4:32Operating Systems
  6. 7:02Learn other programming languages
  7. 8:19Sorry Koichi
  8. 8:44Ruby Under Microscope
  9. 9:19Ruby is slow
  10. 11:23Steps
  11. 11:37TwoTwo
  12. 13:34Different programming models
  13. 14:22ferrous
  14. 14:51Rust vs Ruby
  15. 16:35Ruby method lookup
  16. 17:13Ruby method lookup chart
  17. 18:32Ruby code
  18. 18:55Rust code
  19. 19:37Assembly code
  20. 20:30Class methods
  21. 21:58Assembly
  22. 22:20Optimizations
  23. 22:57Assembly instructions
  24. 23:14Eliminating methods
  25. 23:42Optimized code
  26. 24:47Traits
  27. 25:36Demo code
  28. 27:54Mix modules into functions
  29. 28:52Monomorphic
  30. 30:07Learning other languages
  31. 33:13All programming languages are cool
~/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.