~/talk

What's New in Java 21

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [java]
slides:none on file

Java 21 makes several language and runtime features mainstream: Record Patterns (JEP 440) and Pattern Matching for switch (JEP 441) are standardized, and Virtual Threads from Project Loom are standard (JEP 444). String Templates and unnamed-entity syntax appear as previews (JEP 430 and unnamed preview); Structured Concurrency and Scoped Values are preview/incubating (JEP 446) to help blocking I/O; Panama brings the Foreign Function & Memory API and Vector API in incubation; ZGC adds generational garbage collection (JEP 433), with additional small API and tooling updates.

AI-written summary · about

  1. 0:00Introduction
  2. 2:23Language features
  3. 13:51String templates preview
  4. 23:46Main classes and methods
  5. 25:09Virtual threads with Loom
  6. 31:10Concurrency structure
  7. 34:43Scope values preview
  8. 37:10Sequential collections
  9. 39:16JVM and security updates
  10. 42:26Project Panama and FFM
  11. 43:48Conclusion
~/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.