[Python-ideas] PEP 525: Asynchronous Generators
Chris Angelico
rosuav at gmail.com
Wed Aug 10 17:57:17 EDT 2016
On Thu, Aug 11, 2016 at 3:17 AM, Sven R. Kunze <srkunze at mail.de> wrote:
> Lately, I talked to friend of mine about async and his initial reaction was
> like "hmm that reminds me of early programming days, where you have to
> explicitly tell the scheduler to get control back". He's much older than me,
> so I think it was interesting for him to see that history is repeating
> again.
>
Yes. One critical difference is that in the early days, one rogue
program could bring the entire computer down; what we have now is
preemptive switching between processes and cooperative between tasks
within a process. Worst case, you can still only stall out your own
program.
ChrisA
More information about the Python-ideas
mailing list