April 24, 2026
Ruby goes vroom vroom
Spinel: Ruby AOT Native Compiler
Ruby’s creator just dropped a “turbo button” and the community is losing it
TLDR: Ruby’s creator launched Spinel, a new tool that turns Ruby code into super-fast standalone apps, claiming huge speed gains. Fans are hyped but split: some see it as Ruby’s big comeback or even a Crystal killer, while others complain about confusing docs and missing “magic” features like dynamic tricks.
Ruby fans woke up to a plot twist: Spinel, a new tool from Ruby’s own creator (Matz), promises to turn slow Ruby scripts into fast, standalone apps that run like they’ve had three energy drinks. On paper, it’s a huge speed boost, but the real story is the comments section. One camp is basically saying, “Relax, Matz built it, we’re safe,” treating his name like some kind of performance warranty stamp. Another camp is squinting at the docs and going, “I can’t even tell how to use this thing,” begging for a simple, copy‑paste example like it’s 2007 all over again.
Then there’s the drama: people wondering if this is Ruby’s way of quietly stealing the spotlight back from Crystal, a Ruby-like language that already compiles to fast native code. One commenter openly admits Crystal “never sat right” with them and is thrilled Matz is doing his own speed monster, while others ask if this is basically Crystal’s eviction notice. The fine print? Spinel gets its speed by dropping some Ruby magic tricks like eval and heavy metaprogramming, which has purists torn between “finally, fast Ruby!” and “but what about my fancy wizard code?” The mood: equal parts hype, confusion, and low-key civil war over what “real Ruby” should look like.
Key Points
- •Spinel compiles Ruby to standalone native binaries by performing whole-program type inference and generating optimized C code.
- •The toolchain uses Prism (libprism) to parse Ruby into an AST, then compiles to C and links with a standard C compiler; outputs have no runtime dependencies.
- •Spinel is self-hosting with a documented bootstrap chain that closes when generated outputs stabilize (gen2.c == gen3.c).
- •Benchmarks report a geometric mean ≈11.6x speedup over CRuby miniruby (Ruby 4.1.0dev) across 28 tests, with large gains in compute-heavy workloads.
- •Supported Ruby features include core OOP, control flow, blocks, exceptions, key standard types (including Bigint auto-promotion and Fiber), tagged unions for polymorphism, and string/global variable optimizations.