How Ruby Works Under the Hood
Ruby 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 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
0 有用 机械唯物主义 2013-06-01 10:04:02
非常清晰地介绍了ruby内部一些重要东西的实现,推荐所有的ruby程序员看一看。
1 有用 lili 2016-03-20 13:04:54
这本书不光读了解Ruby有用,对了解语言虚拟机也很有帮助
0 有用 掌星 2023-08-17 20:28:01 上海
08.17 remove
0 有用 fuzhli 2016-04-23 15:24:28
读完了斧头书、ruby元编程,再读这本,有种豁然开朗的感觉。
0 有用 Pepsin 2017-02-06 10:08:12
过了一定时期后对这个就不是太感兴趣了