JRuby
JRuby is the older and more established Java runtime version of Ruby. After several years of falling behind core Ruby, the November 2022 release (JRuby 9.4) brought JRuby to parity with Ruby 3.1, with Ruby 3.2 support expected in the near future. There are some substantial limitations in JRuby’s support as of this writing.
-
Ruby’s threading constructs aren’t completely supported, specifically Ractors and the thread scheduler aren’t supported yet. But you can interoperate with Java thread-safe data.
-
The readme for this version says “Nearly all features from CRuby’s NEWS file have been implemented.” Again, we recommend making sure your tests continue to run if you’re considering switching to JRuby.
-
Rails support for most databases is incomplete. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access