Re:Tree-Structured Concurrency
by lenkite on Sunday July 02, 2023 @12:47PM
(#36563185)
All this is easily possible. You can leverage fan-out/fan-in/pipeline concurrency patterns in Go.
[ Parent
| on HN ]
It's really awful in Go to create concurrency patterns. In particular because the generics are clunky and verbose, and there are no type classes/traits. There's also no good cancellation convention: Context is verbose, dynamically typed, and not used in all the standard interfaces.