Ruby under a microscope book review

A book, that gives you a Ruby "under the hood" overview
16 August 2017   2105

Ruby is very powerful programming language, focused on simplicity, but "under the hood" syntax it performs countless invisible tasks.

Ruby under a microscope cover
Ruby under a microscope cover

Ruby Under a Microscope gives you a great overview of Ruby's core, with diagrams and large amount of explanations, showing how Ruby is implemented (no other programming language skills required). Pat Shaughnessy, an author, takes a scientific approach, laying out a series of experiments with Ruby code to take you behind the scenes of how programming languages work. Additionally, you will find information about such topics as JRuby and Rubinius (two alternative implementations of Ruby), also 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

You can get this book at No Starch Press.

Ruby\RoR News Digest 30.06 - 5.07

Let's check what happened in Ruby programming this week and learn about latest updates and news
05 July 2019   1239

Greetings! I hope your week went great! Here's new Ruby/RoR news digest.

Articles and Guides

  • 6 changes you might have missed coming in Ruby 2.7

Learn about some tiny, but interest thing you really may not noted in this Ruby version.

  • Sorbetting a gem, or the story of the first adoption

As you may remember, new type checker for Ruby called Sorbet was released last week;  in this article, programmer shares his thoughts and impressions on the topic.

  • I just made Ruby++

The ++ implementing was more difficult. than expected.

  • Brewing our own Template Lexer in Ruby

A practical walkthrough of building a basic lexer (the parser part will come later) as a way to implement your own templating language

  • Rails 6 adds support for Multi Environment credentials

In Rails 6, different environments credintials can now be stored in separate files personal key for each.

  • In-App Payments Backend Using Ruby

Updates

  • HTTP Debugging for Ruby

Free version available too.