~/talk

Java for AI

Talkat JavaOne 2025 · 2025-03-18..03-20· [java, machine-learning]
slides:none on file

Java now exposes concrete tooling for AI: the Foreign Function and Memory API plus jextract bind to BLIS for zero‑copy off‑heap matrices; the Vector API provides explicit SIMD kernels; Valhalla value types enable float16-like numerics; and Babylon code reflection turns Java lambdas into Onnx/Onyx protobuff models. A Java Llama2 port jumps from 1.3 → 15 tokens/sec when vectorized, and an MSET‑2 anomaly detector built on the matrix API outperforms MATLAB/Python/CUDA on AMD Zen in these tests.

AI-written summary · about

  1. 0:00Java for AI introduction
  2. 2:13Key features for AI in Java
  3. 9:03Foreign function and memory
  4. 13:45Vector API performance
  5. 22:16Optimizing matrix operations
  6. 26:21MSET2 anomaly detection
  7. 32:17Valhalla and numeric types
  8. 33:44Code reflection and ONNX
~/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.