News for hackers. Stuff that matters.
Re:Python 3.11 vs 3.10 performance by uniqueuid on Wednesday July 06, 2022 @11:26AM (#32002379)
I have used asyncio in anger quite a bit, and have to say that it seems elegant at first and works very well for some use cases.

But when you try to do things that aren't a map-reduce or Pool.map() pattern, it suddenly becomes pretty warty. E.g. scheduling work out to a processpool executor is ugly under the hood and IMO ugly syntactically as well.

Re:Python 3.11 vs 3.10 performance by tandav on Wednesday July 06, 2022 @04:41PM (#32006546)
> scheduling work out to a processpool executor is ugly under the hood and IMO ugly syntactically as well.

Are you talking about this example? https://docs.python.org/3/library/asyncio-eventloop.html#asy...