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.

102 Upvotes

88 comments sorted by

View all comments

Show parent comment

31

u/Kina_Kai Sep 27 '26

Ruby's value proposition in the world of AI assisted development is nearly 0.

I am going to give the same response I give to the suggestion that we should have an LLM optimized programming language:

Someone still has to read this slop.

2

u/aspiringgreybeard Sep 28 '26

Yes. Also, the person prompting the LLM should have a conceptual framework in mind to guide and shape the process. Any LLM is a distillation of what has been written and published on a given topic. Ruby is strong on both of these counts-- it supports sensible project structures, and a ton has been written about how to write good Ruby. It's an interesting exercise to ask your LLM of choice to rank its competency across a few programming languages. Some of the folks ready to write Ruby off might be surprised by the answer.

People act like they are never going to have to debug generated code. Yes, they will-- and when the time comes the more accessible the code the better. Ruby is one of the very best right now.

-5

u/Original-Guarantee23 Sep 28 '26 edited Sep 29 '26

I haven’t read the code at all in well over 6 months. Pretty much stopped at opus 4.5. Why exactly do I need to read the code? I have Evals setup. The agents give me video proof the things work. The do the research and output crafted markdown files with their research and findings.

2

u/h0rst_ Sep 30 '26

Out of curiosity: why do you read a programming language subreddit when you don't have any interest in the whole concept of programming?

0

u/Original-Guarantee23 Sep 30 '26

I didn’t automatically go and leave every subreddit related to programming when LLMs came out…

I’ve been doing this for nearly 20 years. I’m someone who likes building and creating things. I don’t never cared about the act of writing the code itself. With LLMs I can build and create even more things. I now get to just think about what to create, and the high level architecture of things. Not the grunt work of writing each line.

1

u/KerrickLong Oct 05 '26

Do you make money from the code you no longer read?

Do you do it as a member of a team of other folks who also point their agents at the same software product?

2

u/Original-Guarantee23 Oct 05 '26

Yup. I am a senior software engineer at Rocket/Redfin. My entire team has gone “AI Native” at this point. There are plenty of holdouts still at the company but it is a skill issue on their part. There is going to come a point where if you don’t adapt to these new tools you will fall behind. That is the new reality.

We have a big push coming up in Q4 to encourage more people to try and delegate more to agents. At this point when I have to work with people who haven’t adopted AI workflows it’s annoying how slow they work.

0

u/Original-Guarantee23 Oct 05 '26

Yup. I am a senior software engineer at Rocket/Redfin. My entire team has gone “AI Native” at this point. There are plenty of holdouts still at the company but it is a skill issue on their part. There is going to come a point where if you don’t adapt to these new tools you will fall behind. That is the new reality.

We have a big push coming up in Q4 to encourage more people to try and delegate more to agents. At this point when I have to work with people who haven’t adopted AI workflows it’s annoying how slow they work.

0

u/Original-Guarantee23 Oct 05 '26

Yup. I am a senior software engineer at Rocket/Redfin. My entire team has gone “AI Native” at this point. There are plenty of holdouts still at the company but it is a skill issue on their part. There is going to come a point where if you don’t adapt to these new tools you will fall behind. That is the new reality.

We have a big push coming up in Q4 to encourage more people to try and delegate more to agents. At this point when I have to work with people who haven’t adopted AI workflows it’s annoying how slow they work.

0

u/Original-Guarantee23 Oct 05 '26

Yup. I am a senior software engineer at Rocket/Redfin. My entire team has gone “AI Native” at this point. There are plenty of holdouts still at the company but it is a skill issue on their part. There is going to come a point where if you don’t adapt to these new tools you will fall behind. That is the new reality.

We have a big push coming up in Q4 to encourage more people to try and delegate more to agents. At this point when I have to work with people who haven’t adopted AI workflows it’s annoying how slow they work.

0

u/lepetitmousse Sep 28 '26

The "i'm a tortured genius who knows better than everyone" devs are having a hard time with this. Meanwhile, the devs who are focused on shipping value are just adapting and moving on.

2

u/LivewareIssue Sep 30 '26

There’s not no value to reading it, but you should be pretty selective where you spend your attention. My normal review process involves having agents produce a static webpage “reviewer’s guide” including significant/critical code snippets worth a more thorough review.

Other times there’s little point in reading it - just today I had a PR stuck in a review loop (agent playing whack-a-mole with blockers raised by another review agent). First I asked it to cluster the issues so I could identify the brittle sections, asked it to explain one of the pieces I thought smelled the worst, suggested a direction to fix, job done… didn’t feel like reading the code would have changed the outcome much.,

Currently I do at least skim all my code - I’m expecting a human reviewer to read it so the least I can do is bother to read it myself. When I review other people’s PRs I do read them quite carefully.. only seems fair. I do expect this to change at some point however.

0

u/Witless-One Sep 28 '26

LLMs are getting better, their code isn’t really that bad anymore and it will continue to improve. Rust offers so many safety guarantees that the benefit Ruby gives when reviewing code doesn’t really offset the loss of performance and security when running in production

-9

u/lepetitmousse Sep 27 '26

"Hey Claude, tell me where this code is being executed and walk me through the execution line by line"

Someone still has to read this slop.

Whether you like it or not, the technology is moving in the direction where this is increasingly less true.

13

u/Kina_Kai Sep 27 '26

This inevitability nonsense that I keep hearing is baseless. Even Nostradamus had a better batting average.

1

u/[deleted] Sep 28 '26

[removed] — view removed comment

1

u/lepetitmousse Sep 28 '26

If it was a language I wasn't familiar with, that's exactly what I would do. Not sure what's wrong with that.

1

u/ruby-ModTeam Sep 28 '26

Your comment or post was removed because it violates a subreddit rule on productive disagreement.

YES: Read comments fully before responding

YES: Paractice active listening. Let the other person know what you heard.

YES: Distinguish acknowledgment from agreement.

NO: Willful misrepresentation of someone's stated position.

NO: Sexualized language or imagery

NO: Trolling, insulting or derogatory comments, and personal or political attacks.

NO: Conduct which could reasonably be considered inappropriate in a professional setting.

When in doubt use Non-Violent Communication (NVC)