JRuby 9.2 and Rails 5.x
summary
JRuby 9.2 ships with Ruby 2.5 compatibility and practical Rails 5.x support, including Graal integration for JIT, IR-instruction refactors, object shaping and a faster call-frame layout that cuts simple-call overhead. Identifier encoding now handles non-ASCII identifiers reliably (non‑ASCII identifier support), Windows experience improves, and ActiveRecord-JDBC is refactored into single-version branches to support the big three DBs. Rails 5.1 test coverage shows 36 failures out of ~800,000 assertions (36 failures out of ~800k assertions), and benchmarks show Graal/invokedynamic modes often matching or beating MRI after warmup.
AI-written summary · about
chapters (18)
- 0:00Intro
- 0:51JRuby Roadmap
- 1:45Procrastination?
- 4:16Mysterious Errors
- 5:29Reflection Woes
- 9:19Can Replace C2
- 10:11Graal with JRuby
- 10:45JRuby's Math Problem
- 11:37Escape Analysis
- 12:18Mandlebrot
- 14:42Call Frames
- 15:33Partial Frames
- 16:39Reduce allocation size
- 18:03JRuby on Rails
- 27:24Transcoding!!!
- 28:52Scaffolded App Bench
- 32:23Discourse Issues
- 35:27Dealing with Cexts
related talks
55mJRuby in 2018: Building, Deploying, and Scaling Your Apps
39mJRuby: What Why How ... Do it Now!
40mJRuby 2018: Real World Performance
42mJRuby at 15 Years: Meeting the Challenges
30mUsing JRuby: What, When, How, and Why
47mJRuby: What, Why, How... Try It Now
30mScaling Rails with JRuby in 2022
41mJRuby 9000
