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.
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
發表於2024-12-22
Ruby Under a Microscope 2024 pdf epub mobi 電子書 下載
書中epub版P335,Note的一句話說的比較睏擾: Ruby implements extend in exactly the same way, except the included class becomes the superclass of the target class’s class, or metaclass. Thus, extend allows you to add class methods to a class.” 後來經過和作...
評分書中epub版P335,Note的一句話說的比較睏擾: Ruby implements extend in exactly the same way, except the included class becomes the superclass of the target class’s class, or metaclass. Thus, extend allows you to add class methods to a class.” 後來經過和作...
評分書中epub版P335,Note的一句話說的比較睏擾: Ruby implements extend in exactly the same way, except the included class becomes the superclass of the target class’s class, or metaclass. Thus, extend allows you to add class methods to a class.” 後來經過和作...
評分一本不讀會後悔的書。 內容非常精彩, 把Ruby底層實現的脈絡講解的非常清晰。 假如你看不懂Ruby的C源碼,那麼你應該讀這本書, 假如你能看懂C源碼,那麼你更應該讀一下這本書。 我有點後悔到現在纔讀這本書瞭。 推薦大傢閱讀。
評分書中epub版P335,Note的一句話說的比較睏擾: Ruby implements extend in exactly the same way, except the included class becomes the superclass of the target class’s class, or metaclass. Thus, extend allows you to add class methods to a class.” 後來經過和作...
圖書標籤: Ruby 編譯器 計算機 ruby 編程 編程語言 programming 程序設計
讀完瞭斧頭書、ruby元編程,再讀這本,有種豁然開朗的感覺。
評分這本書不光讀瞭解Ruby有用,對瞭解語言虛擬機也很有幫助
評分非常清晰地介紹瞭ruby內部一些重要東西的實現,推薦所有的ruby程序員看一看。
評分過瞭一定時期後對這個就不是太感興趣瞭
評分非常清晰地介紹瞭ruby內部一些重要東西的實現,推薦所有的ruby程序員看一看。
Ruby Under a Microscope 2024 pdf epub mobi 電子書 下載