# Spinel Ruby compiler

12 Hacker News commenters recommended Spinel Ruby compiler and 8 criticized it, November 2025 to November 2026. It was recommended in 2 of 13 months.

**Verdict:** Ruby ahead-of-time compiler giving instant startup and good performance without warm-up; critics note it supports only a limited Ruby subset with no eval or metaprogramming.

## Why people recommend it

- Pragmatic design generating C (3 comments): "Spinel is great as a pragmatic way of getting an AOT compiler for a Ruby subset though, but it's not that hard to support meta programming in an AOT compiler." ([source](https://news.ycombinator.com/item?id=50206411)) "generating C rather than LLVM IR makes sense for a first version you get portability and debuggability for free" ([source](https://news.ycombinator.com/item?id=47909491)) "It's a very pragmatic design: Uses Prism - parsing Ruby is almost harder than the actual translation" ([source](https://news.ycombinator.com/item?id=47888359))
- Fills long-wanted Ruby AOT compiler gap (2 comments): "This is really cool, I've been looking for an AOT compiler for ruby for a long time." ([source](https://news.ycombinator.com/item?id=47887910)) "wow, I wanted to have this for a long time." ([source](https://news.ycombinator.com/item?id=47887847))
- Good potential for future projects (2 comments): "If this stabilizes and gets networking support, there are definitely projects that I'll be able to use this for" ([source](https://news.ycombinator.com/item?id=47891779)) "So I think it has quite a lot of potential but time will tell." ([source](https://news.ycombinator.com/item?id=47888403))

## What people warn about

- Only a subset of Ruby (3 comments): "This is for a limited subset of Ruby - almost no popular Ruby gems would run under it." ([source](https://news.ycombinator.com/item?id=47887865)) "This subset of Ruby doesn’t either." ([source](https://news.ycombinator.com/item?id=47890916)) "This doesn't implement all of Ruby." ([source](https://news.ycombinator.com/item?id=47892185))
- No eval, metaprogramming or threads (2 comments): "Unless this gets back eval, metaprogramming and threads this isn't all that interesting as an actual language." ([source](https://news.ycombinator.com/item?id=47891014)) "This removes a large portion of the magic of Ruby." ([source](https://news.ycombinator.com/item?id=47891391))
- Hard to read and maintain (4 comments): "Now I see an application that looks genuinely interesting (not trivial slop) written by someone I consider to be a top notch programmer, and the code quality is still pretty garbage in some places." ([source](https://news.ycombinator.com/item?id=47891432)) "I find the current documentation difficult to understand." ([source](https://news.ycombinator.com/item?id=47887793)) "it is clearly not maintanable without AI agent" ([source](https://news.ycombinator.com/item?id=47889104))

## Alternatives hackers recommend

- [JRuby](https://hackerapproved.com/p/jruby.md): 13 recommend
- [TruffleRuby](https://hackerapproved.com/p/truffleruby.md): 10 recommend
- [mruby](https://hackerapproved.com/p/mruby.md): 8 recommend

## Cite as

Hacker Approved, "Spinel Ruby compiler", https://hackerapproved.com/p/spinel/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
