~/talk

Graal Without Truffle

Talkat JVM Language Summit 2018 · 2018-08-04..08-06· [java]
slides:none on file

Argues that Graal’s benefits can be reaped without adopting Truffle by using JVM techniques: invokedynamic, aggressive inlining, partial escape analysis, and object-shaping in JRuby’s compiler pipeline. Presents benchmarks (Mandelbrot, hashing, red‑black tree, ActiveRecord) showing JRuby on Graal sometimes matches Truffle Ruby and on Rails runs 5–10× faster than current Truffle builds. Describes building an IR-to-bytecode pipeline, ~241k Java SLOC in JRuby, a custom Graal pass prototype that virtualizes objects and noticeably improves optimization.

AI-written summary · about

  1. 0:00Intro
  2. 1:23What's In This Talk
  3. 2:56What's Not In This Talk
  4. 4:02JRuby Review
  5. 7:10Dynamic Everything
  6. 8:51Numeric Boxing
  7. 11:21Transient Data Structures
  8. 14:44Frame Access
  9. 19:35Array#each
  10. 20:07Java Challenges
  11. 25:21Why Use Truffle?
  12. 32:23Truffle Ruby Timeline
  13. 34:05Different Direction?
  14. 41:01Optimizing JRuby
  15. 42:44Object Shaping
  16. 44:59Frame Elimination
  17. 47:01Pure-Ruby Hashing
  18. 49:39Versus Truffle Ruby
  19. 50:04Warmup Curve: JRuby
  20. 50:26Performance Notes
  21. 50:59Life as a JVM Language
  22. 52:45JRuby + Truffle?
  23. 53:34Summary
~/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.