~/talk

Beyond the Vector API - A Quest for a Lower Level API

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

Proposal of a hardware intrinsics API exposes one-to-one machine instructions from Java via Project Panama, jextract and generated native libraries, aiming for raw-instruction performance; experiments use machine-code snippets and native entry stubs then let the JVM inline or patch encodings to remove call overhead. Example: an x86 VP DQ pattern runs ~3x faster (5 vs 15 cycles) when mapped to the hardware. Major problems: tens of thousands of opcodes, register-move/code-density inflation, toolchain miscompiles and the need for VM support for vector calling conventions.

AI-written summary · about

  1. 0:00Vector API journey
  2. 1:49Vector API goals and evolution
  3. 7:52Vector API adoption lessons
  4. 13:17Scalar to vector bridging
  5. 17:43Hardware intrinsics thought experiment
  6. 21:44Hardware intrinsics API design
  7. 29:44Hardware intrinsics with Jextract
  8. 36:43Optimizing native calls
  9. 41:07Hardware intrinsics challenges
  10. 47:58Q&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.