StructuredTaskScope

eric at kolotyluk.net eric at kolotyluk.net
Mon May 9 14:30:06 UTC 2022


I don’t usually look to Java for the big advancements in the shade of Scala and Kotlin, for example, but Loom really does something significant other languages and frameworks have not.

 

Yes, all those iterations were worth it to get something cleaner, simpler, and more concise. Practice makes perfect.

 

From: Brian Goetz <brian.goetz at oracle.com> 
Sent: May 9, 2022 7:16 AM
To: eric at kolotyluk.net; 'loom-dev' <loom-dev at openjdk.java.net>
Subject: Re: StructuredTaskScope

 

It only took about a dozen iterations on the API to boil it down to this :)



On 5/9/2022 10:15 AM, eric at kolotyluk.net <mailto:eric at kolotyluk.net>  wrote:

I have been away from Loom for a while, but I really like the new https://download.java.net/java/early_access/loom/docs/api/jdk.incubator.concurrent/jdk/incubator/concurrent/StructuredTaskScope.html 
 
Scopes are much clearer than Sessions.
 
Great work.
 
Sincerely, Eric
 

 



More information about the loom-dev mailing list