News for hackers. Stuff that matters.
Re:Python: Generators, Coroutines, Native Coroutines and Asy... by tomn on Saturday December 05, 2015 @09:44PM (#10684157)
> programs are DAGs, and instructions are only run when their inputs are ready, rather than when a program counter reaches them.

At a low level, that's exactly what modern CPUs do.

https://en.wikipedia.org/wiki/Out-of-order_execution

Re:Python: Generators, Coroutines, Native Coroutines and Asy... by chrisseaton on Sunday December 06, 2015 @07:23AM (#10685086)
Right, but only on a single core and only over a small sliding window. Real data flow machines made it explicit rather than a fragile optimisation and scaled it up.
Re:Python: Generators, Coroutines, Native Coroutines and Asy... by tomn on Sunday December 06, 2015 @11:25AM (#10685599)
True, though with multiple functional units there is some parallelism. Just thought it was an interesting comparison.