Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of JRuby implementation in this 49-minute conference talk by Charles Nutter. Delve into challenging aspects such as parsing Ruby, JRuby's parser, interpreter design, and native execution. Learn about JVM tricks, compatibility issues, and the complexities of string handling in JRuby. Discover the rationale behind crucial decisions, including fiber implementation and native integration. Examine Ruby's roots, the concept of layered runtime, and process control in JRuby. Gain insights into backtrace generation, command-line interface challenges, and strategies for improving startup time. Uncover the hard parts of JRuby development and implementation in this comprehensive presentation.
Syllabus
Intro
Parsing Ruby
JRuby's Parser
Parser Problems!
Interpreter
The New Way
Mixed-Mode
Native Execution
JVM Tricks
Compatibility
Strings
The First Big Decision
Fibers on JRuby
Hard Decisions
Native Integration
Ruby's Roots
The Cancer
Ruby FFI example
Layered Runtime
Native in JRuby
Process Control
Backtraces
Command Line
Console Support
CLI == Startup Time
Tweaking Flags
Nailgun?
Drip Init
JRuby Startup
Hard Parts
Taught by
Java