Re:Go's race detector has a mutex blind spot
by pkolaczk on Thursday July 31, 2025 @12:14PM
(#44747115)
Rust async streams or rayon come very close to what you describe as structured concurrency. Actually much closer than anything I saw in other mainstream languages eg Java or Go.
[ Parent
| on HN ]
Re:Go's race detector has a mutex blind spot
by empath75 on Thursday July 31, 2025 @12:30PM
(#44747272)
Rayon is about as pure an example of it as you can imagine. In a lot of cases you just need to replace iter() with par_iter() and it just works.
Re:Go's race detector has a mutex blind spot
by masklinn on Friday August 01, 2025 @06:54AM
(#44755178)
scoped threads as well, though at a lower level of semantics (and probably less efficiently due to not being on top of a thread pool).