~/talk

Leveraging the Modern JVM: How JVM Languages Benefit from Loom, Panama, and More

Talkat Jfokus 2023 · 2023-02-06..02-08· [java, compilers-and-language-design]
slides:none on file

JRuby ports Ruby to the JVM and demonstrates concrete uses of new JVM features: invokeDynamic 3.7× speedups on some benchmarks and up to ~4× versus old JVMs, replacing per-fiber native threads with 100k fibers using Project Loom virtual threads, calling C with Panama JExtract to eliminate JNI overhead, and experimenting with AOT / snapshot strategies toward Project Leyden for fast startup. Demos include mandelbrot and red‑black tree benchmarks and real JRuby patches (jffi, jnr ffi, enxio).

AI-written summary · about

  1. 0:00Intro
  2. 1:50Charles Oliver Nutter
  3. 6:59Ruby Differences from Java
  4. 10:04Dynamic Challenges
  5. 12:08InvokeDynamic in JRuby
  6. 13:39InvokeDynamic Evolution
  7. 21:17Project Loom
  8. 23:07Native Functions and Memory
  9. 24:06Java Native Runtime
  10. 26:05Problems With JNI
  11. 27:12Native getpid Benchmark
  12. 27:48Project Panama
  13. 30:38Startup Time
  14. 31:29JRuby Architecture
  15. 33:27A Little Bit Hacky
  16. 33:59Ahead-of-time Compilation?
  17. 35:19Snapshot a Warm' JVM?
  18. 37:01For Java Developers
~/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.