Ruby is very powerful programming language, focused on simplicity, but "under the hood" syntax it performs countless invisible tasks.
Ruby under a microscope cover
Ruby Under a Microscope gives you a great overview of Ruby's core, with diagrams and large amount of explanations, showing how Ruby is implemented (no other programming language skills required). Pat Shaughnessy, an author, takes a scientific approach, laying out a series of experiments with Ruby code to take you behind the scenes of how programming languages work. Additionally, you will find information about such topics as JRuby and Rubinius (two alternative implementations of Ruby), also in-depth explorations of Ruby’s garbage collection algorithm.
Ruby Under a Microscope will teach you:
- How a few computer science concepts underpin Ruby’s complex implementation
- How Ruby executes your code using a virtual machine
- How classes and modules are the same inside Ruby
- How Ruby employs algorithms originally developed for Lisp
- How Ruby uses grammar rules to parse and understand your code
- How your Ruby code is translated into a different language by a compiler
No programming language needs to be a black box. Whether you’re already intrigued by language implementation or just want to dig deeper into Ruby, you’ll find Ruby Under a Microscope a fascinating way to become a better programmer.
Covers Ruby 2.x, 1.9 and 1.8
You can get this book at No Starch Press.