DeepRead
Cover of Ruby under a microscope

Ruby under a microscope

Pat Shaughnessy · 2014

Programming and computer science › Ruby and Rails

#1,036 most recommended

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

051020122015202020262021 peak · 7
This bookAverage book in Ruby and Rails

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 1 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

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)

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Design Patterns in Ruby
    Russ Olsen · 2007 · recommended by 15 people · 2 people recommended both
  • Metaprogramming Ruby
    Paolo Perrotta · 2010 · recommended by 33 people · 3 people recommended both
  • The Ruby programming language
    David Flanagan · 2007 · recommended by 14 people · similar by subject and what people say about it
  • Crafting Interpreters
    Robert Nystrom · 2021 · recommended by 295 people · named together in 2 comments
  • Eloquent Ruby
    Russ Olsen · 2011 · recommended by 44 people · similar by subject and what people say about it
  • Data Science at the Command Line
    Jeroen Janssens · 2014 · recommended by 8 people · similar by subject and what people say about it
  • Writing An Interpreter In Go
    Thorsten 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 Language
    Steve Klabnik · 2018 · recommended by 170 people · 3 people recommended both
  • Why's (Poignant) Guide to Ruby
    Why The Lucky Stiff · 2005 · recommended by 85 people · similar by subject and what people say about it
  • Beautiful Code
    Andy Oram · 2007 · recommended by 48 people · similar by subject and what people say about it
  • Beautiful Racket
    Matthew Butterick · 2017 · recommended by 44 people · similar by subject and what people say about it
  • The well-grounded Rubyist
    David A. Black · 2009 · recommended by 31 people · similar by subject and what people say about it
  • Building Git
    James Coglan · 2021 · recommended by 19 people · similar by subject and what people say about it
  • Learn to Program
    Chris Pine · 2009 · recommended by 33 people · similar by subject and what people say about it
  • Understanding Computation
    Tom Stuart · 2013 · recommended by 13 people · similar by subject and what people say about it
  • Programming Pearls
    Jon Bentley · 1999 · recommended by 158 people · similar by subject and what people say about it
  • Programming Ruby
    Dave Thomas · 2004 · recommended by 6 people · similar by subject and what people say about it
  • Beginning Ruby
    Peter Cooper · 2009 · recommended by 18 people · similar by subject and what people say about it
  • Programming Ruby 1.9
    2010 · recommended by 11 people · similar by subject and what people say about it
  • Unix Internals
    Uresh Vahalia · 1995 · recommended by 6 people · similar by subject and what people say about it
  • On LISP
    Paul Graham · 1993 · recommended by 192 people · similar by subject and what people say about it
  • Understanding and Using C Pointers
    Richard M Reese · 2013 · recommended by 12 people · similar by subject and what people say about it
  • Crafting rails applications
    Jose Valim · 2011 · recommended by 8 people · similar by subject and what people say about it