[External] : Re: Problem report on the usage of Structured Concurrency (5th preview)

Adam Warski adam at warski.org
Tue Sep 30 09:00:10 UTC 2025


Hello,

> On 29 Sep 2025, at 20:08, Robert Engels <robaho at me.com> wrote:
> 
> I encourage everyone to reread the original JEP on structured concurrency - a simple and effective solution for a common problem. 
> 
> I read many of these comments and I shudder to think of how complex their codebases must be - and so instead they are trying to change STS to fit their messes rather than fix their messes. 

Well my understanding (which might be wrong) is that the JEP has ambitions higher than implementing `par` and `race`, and that the parallel-run example is just this: a simple example that demonstrates the usage of a general API coming to Java.

As for complexity: as long as it's essential, not accidental, we can only look for better abstractions that make it bareable :)

Adam

-- 
Adam Warski

https://warski.org



More information about the loom-dev mailing list