~/talk

Java Enable Preview: Vector API

Talkat Great International Developer Summit 2025 · 2025-04-22..04-25· [java]
links:none on file
slides:none on file

Vector API runs SIMD on mainstream CPUs (x86 AVX, ARM NEON) via the incubating preview and requires the C2 compiler; demos load arrays in float species size 4 (128-bit) chunks so one CPU clock performs four lane operations, masking fixes the leftover two elements (mask true/false and mask true count), and cross‑lane ops use shuffle/compress/reduce. The presenter implements add/multiply/blend/reduce and a working linear regression with vector API, showing correct results on arrays.

AI-written summary · about

  1. 0:00Introduction to Vector API
  2. 1:25What is Vector API
  3. 5:43SIMD capabilities in modern CPUs
  4. 6:24Use cases for Vector API
  5. 9:36Parallel vs concurrent processing
  6. 11:43Project Valhalla and Vector API
  7. 12:47Understanding species in Vector API
  8. 15:15Vector lanes and components
  9. 19:51Adding vectors with Vector API
  10. 26:37Handling non-divisible array sizes
  11. 29:34Introducing vector masking
  12. 34:30Implementing masking in code
  13. 40:30Lanewise vs cross-lane operations
  14. 42:57Cross-lane operations with compare
  15. 48:27Reduce vector operations
  16. 51:38Shuffle vector operations
  17. 52:19Machine learning with Vector API
  18. 56:16Summary and Q&A
~/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.