~/talk

Amber, Loom, Valhalla

Talkat Devnexus 2023 · 2023-04-04..04-06· [java]
slides:none on file

Overview of concrete changes and how to use them: Amber adds record and sealed-type deconstruction so switch and instanceof accept nested and unnamed record patterns (record patterns remain preview; nested/unnamed aim for JDK 21), plus compile/runtime exhaustiveness checks. Loom delivers virtual threads that start in ~1 microsecond and use hundreds of KB today (target tens KB), enabling million virtual threads on a laptop, structured concurrency to replace complex CompletableFuture code, and scope values for immutable, non-thread-bound context. Valhalla brings value classes inline and user-defined primitive types with non-null “bang” arrays to get primitive-level memory and speed while keeping rich modeling.

AI-written summary · about

  1. 0:00Start
  2. 6:05Amber, Loom, Valhalla
  3. 7:36Amber: Records
  4. 14:37Amber: Sealed Types
  5. 19:33Amber: Pattern Matching
  6. 21:28Amber: Type Pattern
  7. 22:06Amber: Record Pattern (prev 20, 21?)
  8. 25:00Amber: Switch Expression +
  9. 28:46The Unnamed Pattern (prev 21?)
  10. 30:25Pattern in the for each statement (prev 20)
  11. 31:56Amber: the Future of Pattern Matching
  12. 35:07Loom: Virtual Threads (prev 19, 20, 21?)
  13. 39:40The Travel Agency Example
  14. 40:14Travel Agency - CompletableFuture
  15. 40:59Travel Agency - Stuctured Concurrency
  16. 44:39Welcome to ScopedValue!
  17. 49:40Valhalla: Value Classes
  18. 52:46Valhalla: Primitive Type
~/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.