Wondering if anyone is using JRuby on Rails in production.
Re:Java 21 makes me like Java again
by brightball on Sunday September 17, 2023 @08:52AM
(#37544539)
He listed off a bunch during the talk.
How does jruby relate to truffleruby?
Re:Java 21 makes me like Java again
by brightball on Sunday September 17, 2023 @08:51AM
(#37544524)
He actually talks about that during the video as well. Short answer is “it depends”.
IIRC Truffle is dramatically faster in some benchmarks but slower in others. And there are some usability aspects of the language that are negatively impacted.
Re:Java 21 makes me like Java again
by sideeffffect on Monday September 18, 2023 @07:24AM
(#37554768)
I think he shows the performance of running JRuby on top of GraalVM. GraalVM uses Graal (the JIT compiler) in place of C2 (the JIT from HotSpot).
But TruffleRuby is something different. It is another Ruby implementation (just like JRuby is a Ruby implementation) using the Truffle framework. And Truffle framework requires to be run on GraalVM.
Re:Java 21 makes me like Java again
by kaycey2022 on Sunday September 17, 2023 @03:05AM
(#37542293)
I loved this. Is there any post comparing Ruby performance with JRuby?
Re:Java 21 makes me like Java again
by mike_hearn on Sunday September 17, 2023 @06:07AM
(#37543375)
There are lots. Usually these days, also comparing with TruffleRuby, which also runs on the JVM.
This one is a couple years old now but you get the idea:
https://eregon.me/blog/2022/01/06/benchmarking-cruby-mjit-yj...
I don't know where to find more up to date benchmarks.
There’s a lot that I really like about the JVM and it’s tooling, I just don’t like writing Java code anymore. JRuby kinda gives the best of both worlds.
Here’s the talk. Virtual thread demo is around the 45 minute mark.
https://youtu.be/pzm6I4liJlg?si=GtxQ4MThEaNDfC67