~/talk

Building JRuby: How We Implement Ruby on the JVM

Talkat RubyConf 2024 · 2024-11-13..11-15· [ruby]
slides:none on file

JRuby 9.4 is compatible with Ruby 3.1 and JRuby 10 aims to track CRuby while dropping Java 8 for Java 21; the codebase shrank from ~400,000 to ~300,000 LOC of Java, builds with Maven, and recommends IntelliJ. Implementation details: dual parsers (legacy and prism parser), an IR that feeds an interpreter and a JIT that emits JVM bytecode using invokeDynamic, ports of C extensions (psych → snake_yaml), ~450 remaining spec error groups, and 1,500 deprecated public APIs being migrated.

AI-written summary · about

  1. 0:00JRuby introduction
  2. 1:25JRuby status and support
  3. 2:27JRuby 9.4 and 10
  4. 4:13Building and contributing
  5. 6:40JRuby parsers and IR
  6. 8:49JRuby compilation pipeline
  7. 10:11Optimizing with invokeDynamic
  8. 14:50Ruby core in JRuby
  9. 19:29Native extensions and Java
  10. 22:36Porting C extensions
  11. 24:24New native extension API
  12. 26:11How to help JRuby
  13. 28:20JRuby and OpenJDK future
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.