
Ruby under a microscope
Pat Shaughnessy · 2014
Programming and computer science › Ruby and Rails
#1,036 most recommended
Hacker News
47
mentions by 41 people · top 7% of 15,732 books
Open Library
—
No ratings yet
1 want to read
Wikipedia
—
No article yet
About the book
Ruby Under a Microscope is an examination of the internals of Ruby's reference interpreter, MRI, covering the Ruby 2.x line. It follows code from source text through parsing, compilation, and execution on the YARV virtual machine, and it describes the object model, classes, and memory management that the runtime maintains along the way. It is written for developers who work in Ruby daily and want to see the machinery beneath the syntax, and it does not assume prior experience with C. The book holds that Ruby's simple surface depends on a large amount of unseen work, and that a programmer can understand the language's behavior more reliably by observing that work directly. It supports this with small experiments and diagrams that show how the parser builds a syntax tree, how that tree is compiled into bytecode, and how the virtual machine runs it. It also traces how objects, classes, method lookup, and garbage collection are represented and used at runtime, and it presents this knowledge as a practical aid for reasoning about how real Ruby programs execute.
Written by Claude from what it knows of this book.
What Hacker News says 78% recommend · 2% critical
In the commenters’ own words
There's also this wonderful book [1] covering similar ground for Ruby. An extract from a review gives a flavour: "Ruby Under a Microscope" does something…
Goodness. So many. * Learn you a Haskell - Fun for Haskell (which I've used since around 1990, but read the book anyway when it came out) * Realm of Racket…
What Open Library readers say
No Open Library reader has rated it yet.
- 1 want to read
- 0 reading
- 0 have read
What critics say, via Wikipedia
No Wikipedia article about this book yet, so no critics to quote.
Reddit communities — coming later
The threads it came up in
Details
- First published
- 2014
- ISBN
- 9781593275273
- Editions known
- 2 at Open Library
- Open Library
- OL19974099W
COMPUTERS / Computer ScienceCOMPUTERS / GeneralCOMPUTERS / Programming / GeneralCOMPUTERS / Programming / Object OrientedCOMPUTERS / Programming Languages / RubyRuby (Computer program language)
Read next: its neighbours on the mosaic
Design Patterns in RubyRuss Olsen · 2007 · recommended by 15 people · 2 people recommended both
Metaprogramming RubyPaolo Perrotta · 2010 · recommended by 33 people · 3 people recommended both
The Ruby programming languageDavid Flanagan · 2007 · recommended by 14 people · similar by subject and what people say about it
Crafting InterpretersRobert Nystrom · 2021 · recommended by 295 people · named together in 2 comments
Eloquent RubyRuss Olsen · 2011 · recommended by 44 people · similar by subject and what people say about it
Data Science at the Command LineJeroen Janssens · 2014 · recommended by 8 people · similar by subject and what people say about it
Writing An Interpreter In GoThorsten Ball · 2018 · recommended by 73 people · named together in 2 comments
Learn You a Haskell for Great Good!Miran Lipovača · 2011 · recommended by 237 people · 3 people recommended both
The Rust Programming LanguageSteve Klabnik · 2018 · recommended by 170 people · 3 people recommended both
Why's (Poignant) Guide to RubyWhy The Lucky Stiff · 2005 · recommended by 85 people · similar by subject and what people say about it
Beautiful CodeAndy Oram · 2007 · recommended by 48 people · similar by subject and what people say about it
Beautiful RacketMatthew Butterick · 2017 · recommended by 44 people · similar by subject and what people say about it
The well-grounded RubyistDavid A. Black · 2009 · recommended by 31 people · similar by subject and what people say about it
Building GitJames Coglan · 2021 · recommended by 19 people · similar by subject and what people say about it
Learn to ProgramChris Pine · 2009 · recommended by 33 people · similar by subject and what people say about it
Understanding ComputationTom Stuart · 2013 · recommended by 13 people · similar by subject and what people say about it
Programming PearlsJon Bentley · 1999 · recommended by 158 people · similar by subject and what people say about it
Programming RubyDave Thomas · 2004 · recommended by 6 people · similar by subject and what people say about it
Beginning RubyPeter Cooper · 2009 · recommended by 18 people · similar by subject and what people say about it
Programming Ruby 1.92010 · recommended by 11 people · similar by subject and what people say about it
Unix InternalsUresh Vahalia · 1995 · recommended by 6 people · similar by subject and what people say about it
On LISPPaul Graham · 1993 · recommended by 192 people · similar by subject and what people say about it
Understanding and Using C PointersRichard M Reese · 2013 · recommended by 12 people · similar by subject and what people say about it
Crafting rails applicationsJose Valim · 2011 · recommended by 8 people · similar by subject and what people say about it