Re:Go Concurrency Patterns: Pipelines and cancellation
by jlouis on Friday March 14, 2014 @07:25AM
(#7398035)
To me, the major difference is that the Java solution gives you one solution. The Go solutions gives you the building blocks.
The latter has the advantage you get to recompose the system in new ways, yielding greater flexibility.
In Java, a better compositional framework is probably Erik Meijer's et.al's RxJava. Haskell also provides better compositionality due to it's functional structure and lazy evaluation semantics.
The latter has the advantage you get to recompose the system in new ways, yielding greater flexibility.
In Java, a better compositional framework is probably Erik Meijer's et.al's RxJava. Haskell also provides better compositionality due to it's functional structure and lazy evaluation semantics.