Aaron Patterson - https://tenderlovemaking.com

Posts

  • Tiny JITs for a Faster FFI

    Can we have a faster FFI for CRuby? Yes.

  • Ruby 3.3's YJIT: Faster While Using Less Memory

    This year, the YJIT team has been working hard to improve and optimize YJIT. We’re proud to say that the version of YJIT to be included with Ruby 3.3 is leaps and bounds ahead of Ruby 3.2’s. It provides better performance across the board, while also warming up faster and using less memory. The 3.3 release is also more robust, including a number of bug fixes along with an improved test suite. In this blog post, we share some early numbers.

  • Ruby Outperforms C: Breaking the Catch-22

    YJIT's ability to improve performance by adapting to run-time behavior can increase the speed of our code in a way that dropping down to C can't. As such, I think we should reconsider the common wisdom that "rewriting our Ruby in C" is the ideal path to performance optimization and take a serious look at "rewriting our C in Ruby" instead.