Ruby Under a Microscope

Ruby Under a Microscope pdf epub mobi txt 電子書 下載2025

出版者:No Starch Press
作者:Pat Shaughnessy
出品人:
頁數:360
译者:
出版時間:2013-11
價格:USD 39.95
裝幀:epub
isbn號碼:9781593275273
叢書系列:
圖書標籤:
  • Ruby
  • 編譯器
  • 計算機
  • ruby
  • 編程
  • 編程語言
  • programming
  • 程序設計
  • Ruby
  • 編程
  • 語言
  • 學習
  • 計算機
  • 開發
  • 麵嚮對象
  • 基礎
  • 教程
  • 設計
想要找書就要到 小美書屋
立刻按 ctrl+D收藏本頁
你會得到大驚喜!!

具體描述

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.

圖書目錄

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
· · · · · · (收起)

讀後感

評分

书中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.” 后来经过和作...  

評分

书中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源码,那么你更应该读一下这本书。 我有点后悔到现在才读这本书了。 推荐大家阅读。

用戶評價

评分

#腦殘粉是怎麼煉成的# 整體還是很不錯的,後麵講closure的時候略有點不清楚。

评分

深入淺齣

评分

非常清晰地介紹瞭ruby內部一些重要東西的實現,推薦所有的ruby程序員看一看。

评分

非常清晰地介紹瞭ruby內部一些重要東西的實現,推薦所有的ruby程序員看一看。

评分

這書真有意思!就喜歡這種挖掘內部機製的書瞭,但又圖文並茂不枯燥!

本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有