Book description
Ruby Under a Microscope gives developers an inside, hands-on look at Ruby's core, using simple diagrams coupled with clear explanations.
Table of contents
- Ruby Under a Microscope: An Illustrated Guide to Ruby Internals
- Dedication
- Advance Praise for Ruby under a Microscope
- About the Author
- Foreword
- Acknowledgments
- Introduction
- 1. Tokenization and Parsing
- 2. Compilation
- 3. How Ruby Executes Your Code
-
4. Control Structures and Method Dispatch
- How Ruby Executes an if Statement
- Jumping from One Scope to Another
- Experiment 4-1: Testing How Ruby Implements for Loops Internally
- The send Instruction: Ruby’s Most Complex Control Structure
- Calling Normal Ruby Methods
- Calling Built-In Ruby Methods
- Experiment 4-2: Exploring How Ruby Implements Keyword Arguments
- Summary
- 5. Objects and Classes
- 6. Method Lookup and Constant Lookup
- 7. The Hash Table: The Workhorse of Ruby Internals
- 8. How Ruby Borrowed a Decades-Old Idea from Lisp
- 9. Metaprogramming
- 10. JRuby: Ruby on the JVM
- 11. Rubinius: Ruby Implemented with Ruby
-
12. Garbage Collection in MRI, JRuby, and Rubinius
- Garbage Collectors Solve Three Problems
- Garbage Collection in MRI: Mark and Sweep
- Experiment 12-1: Seeing MRI Garbage Collection in Action
- Garbage Collection in JRuby and Rubinius
- Copying Garbage Collection
- Generational Garbage Collection
- Concurrent Garbage Collection
- Experiment 12-2: Using Verbose GC Mode in JRuby
- Further Reading
- Summary
- Index
- Copyright
Product information
- Title: Ruby Under a Microscope
- Author(s):
- Release date: November 2013
- Publisher(s): No Starch Press
- ISBN: 9781593275273
You might also like
book
Modern Software Engineering: Doing What Works to Build Better Software Faster
Improve Your Creativity, Effectiveness, and Ultimately, Your Code In Modern Software Engineering, continuous delivery pioneer David …
audiobook
How to Do Nothing
A galvanizing critique of the forces vying for our attention-and our personal information-that redefines what we …
video
Machine Learning for Absolute Beginners - Level 1
Instead of using hard-coded rules for performing something, artificial intelligence (AI) and machine learning (ML) prepare …
video
React - The Complete Guide (Includes Hooks, React Router, and Redux) - Second Edition
**This course is now updated for the latest version of React—React 18** React.js is the most …