r/ruby • • Sep 27 '26

Disagree with DHH. High-level programming languages like Ruby have a great future in the AI era.

Once Ruby’s AOT compiler, Spinel, lands, Ruby will be able to compile to native code and produce standalone binary executables. Ruby projects will no longer require a separate Ruby runtime to run on servers, IoT devices, embedded systems, CLIs, etc.

Ruby applications could become significantly smaller, faster, and more memory-efficient. All Ruby projects, including Rails applications, could benefit from this.

For projects whose goal is to deliver features to end users, I don't think it's wise to generate code that you don't want to read or understand. As programmers, we need to understand what's happening inside our software.

C/Rust black boxes are scary. They can become a huge source of technical debt.

Let AI-assisted compiler optimisations deal with the low-level stuff.

With these optimisations happening under the hood, Ruby code can remain highly readable. And highly readable code is also more agent- and token-friendly.

Non-programmer vibe coders may create unmaintainable black boxes. Programmers can use vibe coding to create maintainable software while keeping the underlying source code understandable.

A high-level language that produces standalone native binaries could hit a very interesting sweet spot.

Let's hope Ruby's AOT project becomes a success.

103 Upvotes

88 comments sorted by

View all comments

Show parent comment

11

u/spiderplata Sep 27 '26

Code Reviewing the slops in Ruby is a higher quality of life for me.

5

u/tadiou Sep 28 '26

Genuinely true. I routinely write in 5 languages because my life is hell.

I can read ruby slop and understand the purpose so much faster than JS/TS. I've used JS almost 10 years longer than Ruby in some capacity.

The ability to quickly reason over code, and more specifically, clear and intentional logic, makes it easier to review, easier to ship.

Like, there use to be this old saying, adapted many times in many ways:
"Do you know how much faster Ruby is than C#"
"Uhhh, C# is so much faster. It can run the same code two "
"No, Ruby is faster by 6-8 months"

The reason is pretty simple: you can read it fast. You can reason about it fast. You can write it fast. You can model things correctly. Some of it's tooling, but a lot of it's just general ergonomics and design choices of the ecosystem.