Programming languagesProgramming languages
Conference50min
INTERMEDIATE

Java's Concurrency Journey Continues! Exploring Structured Concurrency and Scoped Values

This talk explores Java's concurrency evolution, highlighting the shift from classic threads to virtual threads and the ensuing challenges in coordination and observability. It introduces upcoming features—Structured Concurrency and Scoped Values—as solutions, examining their impact on programming and questioning whether Java's concurrency journey has truly reached its conclusion.

Hanno Embregts
Hanno EmbregtsInfo Support

talkDetail.whenAndWhere

Wednesday, November 12, 16:30-17:20
Mimosa 2
talks.description
Java's concurrency journey has been a long and winding one. We departed from the 'classic threads' station and traveled through Runnables, ExecutorServices, CompletableFutures and ForkJoinPools, before finally arriving at 'virtual threads'. But does 'finally' mean that we've arrived at our final destination, or is it a transfer at best?

Now that virtual threads are available, our Java programs will likely use an abundance of threads. This increase in thread count will immediately make thread coordination, observability and isolation more difficult. Two new Java features are currently in development that might make things a bit easier: Structured Concurrency and Scoped Values.

In this talk, we'll introduce and demonstrate these new features, and how they can help address the challenges that have emerged since the introduction of virtual threads. We'll also discuss how the availability of these features will impact your day-to-day programming life and whether Java's concurrency journey is actually over now that these features have become available or if there are still more stops to come.
features
threads
java
concurrency
talks.speakers
Hanno Embregts

Hanno Embregts

Info Support

Netherlands

Hanno Embregts is a Java Developer with a passion for learning, teaching and making music. In his day-to-day job as a Teacher / Technology Advocate at Info Support, Hanno prefers work that is fast-paced and versatile. This is why he juggles Java development, software architecture, public speaking, leading Info Support’s Speaker Community and teaching courses at Info Support’s Knowledge Centre.

Hanno is both a Java Champion and an Oracle ACE Pro. He is also a JUG leader for the NLJUG. Outside of work Hanno likes making music with his friends. He plays the flute, the guitar and he likes to sing.

Software conferences are Hanno’s favourite thing in the world, because they allow him to do the three things he loves most at the same time: learning new things, teaching others about stuff he discovered and yes: even making music from time to time!
comments.title

comments.speakerNotEnabledComments