2 ms·
I didn't realize Dart supports such an actor-like primitive. Neat. That said, I agree with Rich's analysis in the "Wither actors?" section of the core.async an
by brandonbloom 13y ago
I didn't realize Dart supports such an actor-like primitive. Neat.
That said, I agree with Rich's analysis in the "Wither actors?" section of the core.async announcement:
"They still couple the producer with the consumer. Yes, one can emulate or implement certain kinds of queues with actors (and, notably, people often do), but since any actor mechanism already incorporates a queue, it seems evident that queues are more primitive."
See: http://clojure.com/blog/2013/06/28/clojure-core-async-channels.html http://clojure.com/blog/2013/06/28/clojure-core-async-channe...
It should be noted that actors better fit in a distributed system, which is a step above and beyond concurrent systems.