JRuby: Ruby for the JVM
summary
JRuby implements Ruby 1.8 on the JVM with a full 1.8 compiler that emits Java bytecode and an interpreter that falls back to JIT, ships a 1.0.2 release that fixes 99 bugs fixed, and demonstrates a Fibonacci benchmark halving runtime with inline method caching (about 1.2s to ~0.6s). Core classes use Java with annotations, parser is a Java port used by IDEs, threads are native threads, objectspace is disabled by default for performance, and Rails runs via JDBC with Warbler/GlassFish deployment.
AI-written summary · about
chapters (20)
- 0:00Intro
- 2:22JRuby
- 5:29JRuby Books
- 7:50Design Overview
- 10:17Jay
- 10:35Parse Tree
- 12:06NetBeans Demo
- 14:23Java Annotations
- 15:31Java Methods
- 22:43Compile
- 23:20Optimizations
- 25:47Object Space
- 29:22String and Array
- 30:09Regular Expressions
- 32:06Threading
- 33:32Ruby Extensions
- 37:57Swing Demo
- 40:24profligacy
- 41:05monkeybars
- 44:42Toms Rootlets
related talks
47mJRuby: What, Why, How... Try It Now
39mJRuby: What Why How ... Do it Now!
01h 02mJRuby: Not Just Another Ruby Implementation
23mWhat the hell is a JRuby?
31mExpand your Ruby Potential with JRuby
49mJRuby Everywhere! Server, Client, and Embedded
47mWhy JRuby Works
30mBuilding JRuby: How We Implement Ruby on the JVM
