Ruby 2.6 Released With Experimental JIT Compiler - Can Yield ~1.7x Performance Boost

Written by Michael Larabel in Free Software on 25 December 2018 at 06:56 AM EST. 3 Comments
FREE SOFTWARE
The folks behind the Ruby programming language have rolled out their version 2.6.0 release for Christmas. Most notable about Ruby 2.6 is that it brings an experimental JIT compiler.

Ruby 2.6 has an initial just-in-time compiler for improving the performance of Ruby programs. Ruby's JIT generates C code on disk and spawns a common C compiler for generating the native code. The common C compiler can be the likes of GCC, Clang, or Visual C++. Ruby 2.6 benchmarks have found this JIT technique to be about 1.7x faster for CPU intensive workloads.

Ruby 2.6 also has some language changes like adding support for endless ranges, allowing constants to start with non-ASCII capital letters, and more. Outside of the JIT compiler space there are also various other compiler improvements.

More details on Ruby 2.6 via Ruby-Lang.org.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week