JRuby: Professional-Grade Ruby
summary
Runs on the JVM and implements Ruby 3.4 (4.0 support coming), JRuby compiles Ruby to JVM bytecode, uses an interpreter + JIT (first native Ruby JIT in 2008), and lets Ruby call any Java library (example: JFreeChart). Deploy as executable JAR/WAR with no C build tools needed. Benchmarks show MRI ~10.3M simple objects/sec, YJIT +30%, JRuby orders of magnitude faster on allocation and >2x on a Mandelbrot test; real users (Logstash, Poshmark, Cami) process thousands of concurrent requests and handle millions of PDFs a day and see about 6x parallel speed on JSON parsing. Startup time improves (~400–1500ms).
AI-written summary · about
chapters (13)
- 0:00Introduction and speaker background
- 3:34What is JRuby and why use it
- 6:22Installing and running JRuby
- 10:40C extensions and JVM benefits
- 12:27JRuby architecture and performance
- 15:16Benchmark comparisons and optimizations
- 16:42Java library integration examples
- 19:31Desktop and mobile applications
- 20:36Enterprise use cases and scalability
- 23:19Concurrency and parallelism in JRuby
- 27:11Future of JRuby and upcoming features
- 28:59Getting started and funding JRuby
- 30:03Q&A: Limitations and comparisons
