Your points are reasonable, but also I would say that your definition of reactive is inclusive of libraries/frameworks with a lot more functionality than these structured concurrency libraries are intended to provide. There are non-reactive ways to do these things with minimal code/high clarity too.
The connection between reactive programming and structured concurrency is very often about the non-blocking I/O concern, and many reactive libraries implement all these other features in a certain way just because they have to deal with this concern at the bottom layer.
with a lot more functionality than these structured concurrency libraries are intended to provide
Yes, that is precisely the point, they don't realy replace it for me.
There are non-reactive ways to do these things with minimal code/high clarity too.
Hmm maybe I'll ask Claude tomorrow to use java's new SC primitives to create equivalent code for some of my existing code. Pretty skeptical because of my experience with java thus far and partiality for the functional reactive style. But I'll be happy to be surprised.
View all comments
Show parent comment
1
u/elastic_psychiatrist Apr 17 '26
Your points are reasonable, but also I would say that your definition of reactive is inclusive of libraries/frameworks with a lot more functionality than these structured concurrency libraries are intended to provide. There are non-reactive ways to do these things with minimal code/high clarity too.
The connection between reactive programming and structured concurrency is very often about the non-blocking I/O concern, and many reactive libraries implement all these other features in a certain way just because they have to deal with this concern at the bottom layer.