~/talk

Java Language Futures

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java]
slides:none on file

Summary of concrete changes and roadmap: Java now ships concrete features—records (auto constructors, accessors, equals/hashCode/toString), sealed classes (permits + exhaustive checks), pattern matching with record patterns and enhanced switch (jdk 21), and jdk 23 previews including a simpler source-file main and module-wide imports. New proposals add with expressions for efficient record updates and flexible constructor bodies (JEP 482) to run pre-super checks; prototypes exist and earlier features are working in recent JDKs, with class/pattern-for-primitive/array extensions in the pipeline.

AI-written summary · about

  1. 0:00Introduction to Java futures
  2. 1:03Project Amber overview
  3. 3:53Java records explained
  4. 9:15Sealed classes and interfaces
  5. 11:21Pattern matching basics
  6. 16:35Record patterns and nesting
  7. 20:28Data-oriented programming
  8. 27:38Async return value redesign
  9. 29:04Simplified hello world
  10. 33:43Record with expressions
  11. 38:26Flexible constructor bodies
  12. 41:39Constructor initialization order
  13. 46:13Constructor pre-initialization issue
  14. 48:24Future Amber features
  15. 51:45Q&A and closing
~/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.