Автор: Pat Shaughnessy
Название: Ruby Under a Microscope: An Illustrated Guide to Ruby Internals
Издательство: No Starch Press
Год: 2013
ISBN: 1593275277
Язык: English
Формат: pdf
Размер: 11,8 mb
Страниц: 360
Ruby is a powerful programming language with a focus on simplicity, but beneath its elegant syntax it performs countless unseen tasks.
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 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.