The Java Sessions: Virtual Threads, Structured Concurrency, and Scoped Values
There is a new way of Threading, which means it is time to prepare. Project Loom has introduced Java Virtual Threads, which is now available in Java 21. Virtual Threads are small Threads meant to perform quick operations with the need to procure long-running OS threads, which can prove expensive. In this presentation, we will learn how to use these threads, what does it mean in relationship with the rest of the Java API, and what does it mean for third-party libraries.
What is a Virtual Thread Creating and Using a Virtual Thread What will Loom’s Virtual Threads do to Future and Reactive What is a Continuation? What is Structured Concurrency? How does it compare to other languages and projects? What are Scoped Values? How do you use them? What are the performance comparisons?