Ruby 2.0
summary
Ruby 2.0 ships on Ruby’s 20th birthday (Feb 24 2013) and claims concrete gains: measurable speedup over 1.9 and broad compatibility while urging migration off Ruby 1.8. New language and VM work include keyword arguments, module prepend for method decoration, lazy enumerables to avoid eager memory blowups, a copy‑on‑write–friendly runtime and GC improvements with partial generational GC planned, startup cost reductions in require, UTF-8 default, DTrace/TracePoint hooks, and refinements marked as experimental.
AI-written summary · about
chapters (29)
- 0:00Intro
- 0:29The Bad
- 2:21The Ugly
- 10:00Version Numbers
- 11:03Ruby Developers
- 11:17Core Developers
- 16:18native thread
- 17:54New Hash literals
- 18:21Selector namespace
- 19:01Keyword Arguments in
- 22:50alias method chain
- 25:18Method combination
- 26:35Module#prepend
- 28:13Monkey Patching
- 28:45Adding methods
- 28:57Replacing methods
- 30:42Scoped enhancement
- 31:46Other Languages
- 32:30Classbox
- 34:10Extended Methods
- 34:20Summary
- 35:29Functional programming wannabe
- 35:45Function composition
- 36:27Method chains
- 38:33Lazy evaluation
- 39:41Symbol array literals
- 39:56conversion methods
- 40:29UTF-8 by default
- 41:33Performance








