Ruby Under a Microscope

ebook Learning Ruby Internals Through Experiment

By Pat Shaughnessy

cover image of Ruby Under a Microscope

Sign up to save your library

With an OverDrive account, you can save your favorite libraries for at-a-glance information about availability. Find out more about OverDrive accounts.

   Not today

Find this title in Libby, the library reading app by OverDrive.

Download Libby on the App Store Download Libby on Google Play

Search for a digital library with this title

Title found at these libraries:

Library Name Distance
Loading...

How Ruby Works Under the HoodRuby is a powerful programming language with a focus on simplicity, but beneath its elegant syntax it performs countless unseen tasks.Ruby Under a Microscope gives you a hands-on look at Ruby's core, using extensive diagrams and thorough explanations to show you how Ruby is implemented (no C skills required). Author Pat Shaughnessy takes a scientific approach, laying out a series of experiments with Ruby code to take you behind the scenes of how programming languages work. You'll even find information on JRuby and Rubinius (two alternative implementations of Ruby), as well as 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 implementationHow Ruby executes your code using a virtual machineHow classes and modules are the same inside RubyHow Ruby employs algorithms originally developed for LispHow Ruby uses grammar rules to parse and understand your codeHow your Ruby code is translated into a different language by a compilerNo 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.

Ruby Under a Microscope