Re:It ain't about the callbacks, it's about the flow control
by swannodette on Thursday September 05, 2013 @02:36PM
(#6335964)
If you find this post interesting I strongly recommend looking at how Go, Clojure's core.async, and similar CSP systems attempt to address these issues.
One big advantage of a good CSP model is that you can express push/pull sensibly because you have a (buffered) channel abstraction between communicating processes.
Re:It ain't about the callbacks, it's about the flow control
by doublec on Friday September 06, 2013 @12:58AM
(#6338747)
"Concepts, Techniques, and Models of Computer Programming" also covers flow control using similar methods IIRC. They use the dataflow variables of Oz which act like channels.
One big advantage of a good CSP model is that you can express push/pull sensibly because you have a (buffered) channel abstraction between communicating processes.