• Open Daily: 10am - 10pm
    Alley-side Pickup: 10am - 7pm

    3038 Hennepin Ave Minneapolis, MN
    612-822-4611

Open Daily: 10am - 10pm | Alley-side Pickup: 10am - 7pm
3038 Hennepin Ave Minneapolis, MN
612-822-4611
Virtual Threads, Structured Concurrency, and Scoped Values: Explore Java's New Threading Model

Virtual Threads, Structured Concurrency, and Scoped Values: Explore Java's New Threading Model

Paperback

Series: Apress Pocket Guides

Programming

Publisher Price: $22.99

ISBN13: 9798868804991
Publisher: Apress
Published: Sep 5 2024
Pages: 79
Weight: 0.32
Height: 0.20 Width: 6.14 Depth: 9.21
Language: English

Discover the exciting new APIs introduced by Java's Project Loom. This quick guide covers all the essential concepts the Java developer needs in order to understand virtual threads, structured concurrency, and scoped values.

Authors Ron Veen and David Vlijmincx clearly explain the superiority of virtual threads, introduced in Java 21, over the traditional Java threads of the past 25 years. Then they dive into how structured concurrency streamlines interactions by treating related threads as a unified unit of work, akin to the impact of structured programming on regular programming. From there, the authors explore the third Project Loom API and scoped values, clarifying their advantages over regular ThreadLocals and providing efficient usage insights. The book concludes with an exploration of common scheduling strategies.

Also in

Programming