-
Book Overview & Buying
-
Table Of Contents
Polished Ruby Programming - Second Edition
By :
One recent exciting development in the Ruby ecosystem is the introduction of Spinel, a compiler for a subset of Ruby to a native executable, by the creator of Ruby. Spinel supports a long list of Ruby features. However, there are some commonly used Ruby features it does not currently support:
eval and related methodssend)require (require_relative is supported at compilation time, not run time)For the features Spinel supports, performance is good. For a set of benchmarks, performance was on average 11× better than CRuby, with some benchmarks being over 50× faster. If a Ruby program uses the subset of features supported by Spinel, the resulting native executable can be very fast. The Spinel compiler is written in Ruby, and Spinel can compile itself, so the subset of Ruby that Spinel supports is definitely large enough to support nontrivial programs.
Work on Spinel began in...
Change the font size
Change margin width
Change background colour