4 ms·
Java 21 has me anticipating the next JRuby release because of Virtual Threads. Charles Nutter gave a talk about JRuby in August where he showed a demo of the im
by brightball 3y ago
Java 21 has me anticipating the next JRuby release because of Virtual Threads. Charles Nutter gave a talk about JRuby in August where he showed a demo of the impact on Ruby fibers and it’s pretty significant.
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 https://youtu.be/pzm6I4liJlg?si=GtxQ4MThEaNDfC67
- ksec 3y agoWondering if anyone is using JRuby on Rails in production.
- brightball 3y agoHe listed off a bunch during the talk.
- kaba0 3y agoHow does jruby relate to truffleruby?
- brightball 3y agoHe 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.
- sideeffffect 3y agoI 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.
- kaycey2022 3y agoI loved this. Is there any post comparing Ruby performance with JRuby?
- mike_hearn 3y agoThere 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-yjit-jruby-truffleruby.html https://eregon.me/blog/2022/01/06/benchmarking-cruby-mjit-yj... I don't know where to find more up to date benchmarks.