Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> result = asyncio.run(red(x))

Still much harder to think about/read then

   result = red(x)
We should be finding ways to get to the latter with concurrency. async/await is at best a patchwork compromise until we can do better.


I much prefer the performance implications of my code be explicit than implicit.

Async in this case has less ceremony than threads. But still enough to make thing explicit.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: