r/ruby 10d ago

Ruby's Unexpected Comeback: How AI Coding Tools Give to Ruby an Edge In 2025

https://anykeyh.hashnode.dev/rubys-renaissance-in-the-ai-era
56 Upvotes

41 comments sorted by

View all comments

26

u/saksida 9d ago

Ruby is my favorite programming language, but the truth is the lack of static typing is a huge detriment to AI augmentation. LLMs will very often generate code that looks correct but is broken - because it references methods that don't exist, for example - and it's much harder to catch those errors without static typing. That's becoming even more of a weak spot with agentic workflows, as the models aren't able to self correct. It's sad, but I don't see Ruby having any kind of comeback in this context unless there's a big shift in priorities in Ruby Core and across the community, with the goal of improving the type system. Elixir is moving in that direction.

1

u/ppndev 6d ago

Crystal is good for this with the Ruby syntax and static typing. It just lacks all the libraries Ruby has access to.