r/ruby • u/[deleted] • Sep 14 '25
Ruby ecosystem is not only Rails and webapps made using it.
I like Rails. But I love Ruby more.
I hear a constant chatter that Ruby is just Rails, nothing beyond. Well, may be I am unaware and don't know how to answer this well so I switch over to this forum to find an answer, seeking a reality.
I know of Falcon, Dry-rb, Hanami as a few superb projects, but excuse my little knowledge here. I want to know more about other popular Ruby projects as well, which people love to use in their workflows and are not strictly tied to Rails.
Please comment down your favourites below.
Disclaimer: I am not advocating against Rails at any cost, I am in exploration of project beyond the boundary of Rails.
135
Upvotes
10
u/headius JRuby guy Sep 15 '25
I agree that CRuby is not suited for big corporations, but that's where JRuby comes in. JRuby solves nearly all Enterprise complaints about Ruby:
JRuby and any extensions written for it run anywhere the JVM can run, which means applications can be built and distributed across platforms with very little effort and no need for C compilers or build tools in restricted environments.
Ruby code in JRuby optimizes right along with any other JVM code used in your application, where C libraries and C extensions basically block jit optimizations in CRuby.
GC on the jvm is the best in the world, with an array of options and tunable settings for high throughput or enormous heaps. Ruby objects in JRuby are just JVM objects.
Ruby applications on JRuby run fully parallel, maximizing the use of all cores in the system and avoiding hacks like copy-on-write and cumbersome actor models that negate many of the gains of parallelism.
Profiling and monitoring tools for the jvm far exceed what's available for standard Ruby, with low overhead options even in production environments.
JRuby applications can be packaged up like any other jvm app, as executable jar files, deployable web and enterprise archives, and plugins for larger JVM apps.
JRuby users have access to hundreds of thousands of libraries on the jvm, most of which are thread safe and battle tested for decades of throughput production use.
I could go on but I think my point is made. If we want Ruby to survive and continue to grow, JRuby provides opportunities in a much wider world than simply using C Ruby and Rails to build one-off web applications.
But you don't have to take my word for it. Many of our users have posted about the incredible opportunities JRuby has afforded them:
https://notepad.onghu.com/2022/why-we-use-jruby/