News for hackers. Stuff that matters.
Re:Python and Async Simplified (2018) by lozenge on Saturday October 22, 2022 @06:18AM (#33296983)
One coroutine crashing and the others continuing to send it messages without noticing was my $40,000 bug.
Re:Python and Async Simplified (2018) by Spivak on Monday October 24, 2022 @05:01PM (#33322632)
I’m so confused by this architecture. It makes total sense in a threaded world but why would you want a coroutine constantly scheduling itself in a loop to pull messages off a queue like thing than just having the thing generating the message fire off a task to process it directly right there? It feels almost the same to me and then you can’t crash the coroutine.