Leading Edge! Changing the Java World
summary
JRuby maps Ruby to the JVM using concrete JVM features: invokeDynamic -> 2x–4x speedup on benchmarks and combined with Graal JIT yields up to 15.7x; Project Loom’s virtual threads let JRuby run massive fiber workloads (demo: 100,000 fibers in ~0.5s). Native interop moves from layered JNI to Project Panama with jextract for generated bindings. Startup remains the main gap (10–100x slower), with --dev, CRIU/Semeru snapshotting and early Leiden work as partial remedies.
AI-written summary · about
chapters (7)
- 0:00Introduction and JRuby history
- 8:29Dynamic features in Ruby
- 12:01Invoke Dynamic in JVM
- 21:11Fibers and Project Loom
- 30:00Native functions with Project Panama
- 41:33Startup and warm-up challenges
- 50:39Future improvements and wrap-up
related talks
42mLeveraging the Modern JVM: How JVM Languages Benefit from Loom, Panama, and More
47mWhy JRuby Works
47mBeyond JVM: How the Platform is Evolving for new Languages & Features
31mExpand your Ruby Potential with JRuby
53m20 Years of JRuby - Where We've Been and Where We're Going
55mJRuby in 2018: Building, Deploying, and Scaling Your Apps
47mJRuby: What, Why, How... Try It Now
46mTwenty Years of JRuby
