~/talk

Exploring what's new in Java in 2020.

Talkat Devoxx Ukraine 2020 · 2020-11-05..11-07· [java]
github:mcupak
slides:none on file

Live-coding demos run in JShell on a JDK 16 EA build and show concrete syntax and behavior: switch expressions with yield and polyexpression typing, pattern matching for instanceof as a preview that binds variables with flow scoping, text blocks for multiline JSON/SQL, and records with canonical constructor validation and reflection support. The session also streams JFR events (RecordingStream sampling CPU every second) and demos Foreign Memory Access: MemorySegment.allocateNative(1000) plus VarHandle set/get returning 42, noting the API remains incubating.

AI-written summary · about

  1. 0:00Introduction
  2. 1:32Overview
  3. 2:42Switch Expressions
  4. 7:34Type Inference
  5. 10:57Better Matching for Instance
  6. 15:42Text Blocks
  7. 19:15Records
  8. 24:43Canonical constructor
  9. 30:13Sealed classes and interfaces
  10. 37:21Better matching switch expressions
  11. 38:50Sealing records
  12. 40:20Sealed classes
  13. 40:54Flight Recorder API
  14. 44:44Memory Access API
~/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.