Hacker News new | ask | show | jobs
by quotemstr 333 days ago
Why would anyone want to use asyncio over trio. The latter is one of the few structured concurrency systems that doesn't make me want to pry my eyeballs out with a spoon.
2 comments

Use anyio to get compatibility with both and lots of async related tools like object steams.
Not every program needs thread/task cancellation. Somehow people have been convinced that threading is the same as goto and it is obviously the wrong thing to do. goto is goto, you can't take anything you dislike and say it will die like goto did.