Ruby Under a Microscope: An Illustrated Guide to Ruby Internals(快遞進口)

Pat Shaughnessy

  • 出版商: No Starch Press
  • 出版日期: 2013-11-22
  • 售價: $1,900
  • 貴賓價: 9.5$1,805
  • 語言: 英文
  • 頁數: 360
  • 裝訂: Paperback
  • ISBN: 1593275277
  • ISBN-13: 9781593275273
  • 相關分類: Ruby
  • 無法訂購

買這商品的人也買了...

商品描述

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

商品描述(中文翻譯)

Ruby是一種強大的程式語言,注重簡潔易懂,但在其優雅的語法下,它執行了無數看不見的任務。

《Ruby Under a Microscope》通過詳盡的圖表和解釋,讓您深入了解Ruby的核心,並進行實踐。作者Pat Shaughnessy採用科學方法,通過一系列的Ruby程式碼實驗,帶您深入了解程式語言的運作原理。書中還介紹了JRuby和Rubinius(兩種Ruby的替代實現),以及對Ruby的垃圾回收算法進行了深入探索。

《Ruby Under a Microscope》將教您:

- 幾個計算機科學概念如何支撐Ruby的複雜實現
- Ruby如何使用虛擬機執行您的程式碼
- 在Ruby內部,類和模塊是如何相同的
- Ruby如何使用最初為Lisp開發的算法
- Ruby如何使用語法規則解析和理解您的程式碼
- 您的Ruby程式碼如何通過編譯器轉換為不同的語言

沒有任何程式語言需要成為一個黑盒子。無論您對語言實現感興趣,還是想深入研究Ruby,您都會發現《Ruby Under a Microscope》是成為更好的程式設計師的迷人方式。

涵蓋Ruby 2.x、1.9和1.8版本。