~/talk

Java 22 - Better Language, Better APIs, Better Runtime

Talkat JCON EUROPE 2024 · 2024-05-13..05-16· [java]
slides:none on file

Java 22 finalizes the unnamed patterns (JEP 456) so switch branches can combine cases using the underscore instead of a default, forcing compile-time exhaustiveness; it ships the foreign‑function & memory API (Arena, MemorySegment, VarHandle, Jextract + MethodHandle-based calls) as final so native calls and off-heap buffers are safer and controllable; and it enables multi‑source‑file launch and a smaller main so multiple .java files run with java (no javac). String templates get pulled back for redesign.

AI-written summary · about

  1. 0:00Introduction and Java 22 overview
  2. 2:54Why upgrade to newer Java versions
  3. 8:08Unnamed patterns in Java 22
  4. 16:39Foreign Function & Memory API
  5. 26:14Multi-file program launching
  6. 35:21Q&A session
  7. 41:34Stream gatherers deep dive
  8. 48:54Closing and resources
~/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.