Is Java 24 A Functional Programming Language?
summary
Java 24 adds concrete pieces rather than philosophy: stream gatherers let libraries implement custom intermediate stream ops, and virtual threads run on a rewritten nonblocking socket layer so blocking calls yield the thread — both land and are usable now. Pattern matching, records and sealed types improve ADT ergonomics; value classes from Project Valhalla remain future work to unify primitives and objects. Tail-call optimization and higher-kinded types remain missing; adoption trends show Java 17 and Java 8 each near ~35% while Java 11 falls to ~22%.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 2:07Principles for discussion
- 5:42Java 21 adoption survey
- 6:25Functional language scorecard
- 13:10Java type system limits
- 21:02Java type system summary
- 27:02Java 17 improvements
- 31:59Java 21 pattern matching
- 36:57Java 22 unnamed patterns
- 38:01Stream gatherers in Java 24
- 39:28Virtual threads explained
- 41:55Project Amber recap
- 42:58Project Loom future
- 45:26Scoped values and concurrency
- 46:09Stable values preview
- 47:14Project Valhalla overview
- 50:07Conclusion and Q&A
