~/talk

How to make your electrons do more in Java?

Talkat JDD 2023 · 2023-10-24..10-25· [java]
links:none on file
slides:none on file

Shows concrete wins: Vector API (Java 21) compiles explicit SIMD to CPU instructions and on microbenchmarks reduces runtimes (100M-element sum 29ms → 21ms, max 44ms → 22ms, naive quadratic 300ms → 227ms). Introduces TornadoVM + GraalVM which compiles annotated static methods to GPU kernels, handles device memory and can choose CPU vs GPU. Demonstrates a JVM raytracer moving from ~5 FPS on CPU parallel streams to ~60 FPS on GPU. Notes extra boilerplate, limited SIMD coverage, and PCIe transfer as the main bottleneck.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:22What are SIMD instructions
  3. 6:03History of SIMD in Java
  4. 11:30Java Vector API overview
  5. 18:22Vector API demo and performance gains
  6. 24:11Pros and cons of Vector API
  7. 26:18Why Vector API now and data science context
  8. 27:24GPU programming in Java overview
  9. 31:48Tornado VM introduction
  10. 33:40Tornado VM demo with annotations
  11. 37:34Ray tracer performance comparison
  12. 40:09Tornado VM benefits and limitations
  13. 42:18Summary and conclusion
~/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.