VirtualThreads
3 items
Series Posts
Part 8: Java 18, 19 & 20: Virtual Threads on the Horizon
Java 18, 19, and 20 were bridge releases between the Java 17 and Java 21 LTS versions. They introduced UTF-8 as the default charset, a simple built-in web server, and — most significantly — previewed virtual threads, structured concurrency, and record patterns that would be finalised in Java 21.
Part 9: Java 21: The Concurrency Revolution — LTS
Java 21 is a landmark LTS release. It finalised virtual threads (Project Loom), sequenced collections, record patterns, and pattern matching for switch — while previewing string templates and unnamed classes. It is the most feature-rich LTS release since Java 8.
Part 11: "Flowing Data" — Flow, Channels and Virtual Threads
Store managers want live stock numbers, and Kabir reaches for Flux. We cover cold Flow and its operators, back-pressure with buffer, conflate and debounce, hot StateFlow and SharedFlow, channels, Reactor interop in both directions, testing with runTest and virtual time, and a decision table for virtual threads versus coroutines.