Ruby Under a Microscope

书名:Ruby Under a MicroscopeAnIllustratedGuidetoRubyInternals
作者:PatShaughnessy
译者:
ISBN:9781593275273
出版社:NoStarchPress
出版时间:2013-11
格式:epub/mobi/azw3/pdf
页数:360
豆瓣评分: 9.3

书籍简介:

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

作者简介:

Well known for his coding expertise and passion for the Ruby programming language, Pat Shaughnessy blogs and writes tutorials at patshaughnessy.net. He also develops Ruby applications at management consulting firm McKinsey & Co. Shaughnessy is a regular presenter on the Ruby conference circuit, and his articles and presentations have been featured in the Ruby Weekly newsletter, the Ruby5 podcast, and The Ruby Show.

书友短评:

@ lili 这本书不光读了解Ruby有用,对了解语言虚拟机也很有帮助 @ 机械唯物主义 非常清晰地介绍了ruby内部一些重要东西的实现,推荐所有的ruby程序员看一看。 @ Kymair 这书真有意思!就喜欢这种挖掘内部机制的书了,但又图文并茂不枯燥! @ vmrand 知其然,知其所以然。 @ Fu 理解一门语言,最好的方法就是看它是如何被实现的,想要理解 python,非《Python 源码剖析》莫属,想要理解 ruby,非这本书莫属 @ Fu 理解一门语言,最好的方法就是看它是如何被实现的,想要理解 python,非《Python 源码剖析》莫属,想要理解 ruby,非这本书莫属 @ 壮壮 看中文的就当读了 @ Pepsin 过了一定时期后对这个就不是太感兴趣了 @ fuzhli 读完了斧头书、ruby元编程,再读这本,有种豁然开朗的感觉。 @ lili 这本书不光读了解Ruby有用,对了解语言虚拟机也很有帮助

Foreword by Aaron Patterson
Acknowledgments
Introduction
Chapter 1: Tokenization and Parsing
Chapter 2: Compilation
Chapter 3: How Ruby Executes Your Code
Chapter 4: Control Structures and Method Dispatch
Chapter 5: Objects and Classes
Chapter 6: Method Lookup and Constant Lookup
Chapter 7: The Hash Table: The Workhorse of Ruby Internals
Chapter 8: How Ruby Borrowed a Decades-Old Idea from Lisp
Chapter 9: Metaprogramming
Chapter 10: JRuby: Ruby on the JVM
Chapter 11: Rubinius: Ruby Implemented with Ruby
Chapter 12: Garbage Collection in MRI, JRuby, and Rubinius
Index
· · · · · ·

添加微信公众号:好书天下获取

添加微信公众号:“好书天下”获取书籍好书天下 » Ruby Under a Microscope
分享到: 更多 (0)

评论 抢沙发

评论前必须登录!

 

添加微信公众号:“好书天下”获取书籍

好书天下