~/talk

How to make your electrons do more in Java

Talkat GeeCON 2023 · 2023-04-19..04-21· [java, web-performance]
links:none on file
slides:none on file

Java 16+ exposes SIMD via the Vector API and shows real gains: a max-search prototype falls from ~36 ms to ~20 ms when reduced into vector operations, and large-array sums and reductions run noticeably faster than scalar loops. A separate pipeline uses TornadoVM to compile static Java methods to GPU/FPGA kernels, transfer arrays, and hide drivers and memory chores; a ray-tracer example runs ~1.5 FPS on a single-thread CPU, ~3 FPS with parallel streams, and much faster on GPU. The system uses dynamic reconfiguration to pick CPU vs GPU based on transfer and compute costs.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:09What SIMD instructions are
  3. 5:25History of SIMD in hardware
  4. 9:19SIMD in Java and JVM optimizations
  5. 10:23Java 16 Vector API introduction
  6. 11:49Vector API demo setup
  7. 17:16Vector API performance demo
  8. 19:06Pros and cons of Vector API
  9. 21:18Can Java utilize GPUs?
  10. 23:28Challenges of GPU programming
  11. 25:12Attempts to integrate GPUs in Java
  12. 26:58Introducing TornadoVM
  13. 28:43TornadoVM annotation approach
  14. 32:20TornadoVM performance with Ray Tracer
  15. 37:42Pros and cons of TornadoVM
  16. 38:47Q&A session
~/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.