~/talk

The Cool Thing about Cool Things in Java 16 & 17 LTS

Talkat Devoxx Ukraine 2021 · 2021-11-19..11-20· [java]
slides:none on file

Practical tour of Java 16 and 17 features with concrete claims and examples: records reduce boilerplate for immutable data carriers (canonical and compact constructors shown, local records used for stream projections), pattern matching for instanceof and switch replaces casts in equality and type-dispatch code, and the foreign-memory and foreign-linker APIs (incubating) provide safe off‑heap access for large files with JNI‑comparable performance. Real work: a billing aggregation moved to JDK17 using Stream.toList and reports smaller runtime images, faster startup, and simpler native packaging via jpackage.

AI-written summary · about

  1. 0:00Intro
  2. 0:29The Cool Thing about Cool Things in Java 16 & 17 LTS
  3. 4:50What is the Relation between JDK 16 and 17 LTS?
  4. 7:28JEP 12: Preview Features
  5. 9:01Enabling preview features during development.
  6. 10:08JEP 11: Incubator Modules
  7. 11:41JEP 277: Enhanced Deprecatione
  8. 13:57JEP 395: Records
  9. 19:24JEP 394: Pattern Matching for instanceof
  10. 21:54JEP 406: Pattern Matching for switch (Preview)
  11. 24:56JEP 409: Sealed Classes
  12. 31:59JEP 390: Warnings for Value-Based Classes
  13. 34:55JEP 380: Unix-Domain Socket Channels
  14. 41:24JEP 387: Elastic Metaspace
  15. 43:11JEP 407: Remove RMI Activation
  16. 43:44JEP 398: Deprecate the Applet API for Removal
  17. 43:59JEP 410: Remove the Experimental AOT and JIT Compiler
  18. 44:21Significant Removal and Deprecation
  19. 46:21JEP 392: Packaging Tool
  20. 48:26JEP 386: Alpine Linux Port
~/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.