The JVM-oriented Ruby implementation gets updated – JRuby 188.8.131.52 is here! Our Ruby on Rails development agency tracks all the news about Ruby to adopt them as soon as possible. What is the good thing about JRuby and how can its new version benefit our work?
Ok, first of all, JRuby is an implementation of the Ruby programming language atop the Java Virtual Machine, written largely in Java. It is free software released under a three-way EPL/GPL/LGPL license. It gives the best of the JVM together with the awesomeness that is Ruby syntax:
- High performance;
- Real threading;
- Vast array of libraries.
With the new update, the JVM-oriented Ruby implementation gets a variety of bugfixes and stays in sync with CRuby 2.5.x standards. JRuby 184.108.40.206 brings significant improvements to refinements and 53 issues fixed. Some of them:
- Better thread name for enumerator/fiber workers;
- Use close_on_exec method instead of using fcntl calls for pty;
- Speedup BigDecimal division;
- Update fiber/enumerator threads with info about creation;
- Incorrect parameters for core methods messes up RSpec proxies;
- File::write uses nonblocking IO when MRI uses blocking;
- Multicast Receive Broken On all Unixy machines;
- NullPointerException with PTY.open returning null (not nil);
- Update to JSON 2.2.0;
- Remove the “Fatal” constant since it’s hidden in MRI;
- Additional pack/unpack optimizations.
By the way, more great things about Ruby can be found on our Ruby/Rails digest!