Skip Navigation

Asyncio, twisted, tornado, gevent walk into a bar...

www.bitecode.dev Asyncio, twisted, tornado, gevent walk into a bar...

... they pay, they leave, they drink, they order.

Asyncio, twisted, tornado, gevent walk into a bar...

Concurrency has a lot to do with sharing one resource, and Python has dedicated tools to deal with that depending on the resource you must share.

If you have to share one CPU while waiting on the network, then the specialized tools for this are asyncio, twisted, trio, gevent, etc.

Asyncio is the current standard to do this, but tornado, gevent and twisted solved this problem more than a decade ago. While trio and curio are showing us what the future could look like

But chances are, you should use none of them.

Discussion on Hacker News

0
Python Dev @lemmy.pastwind.top Ryan He @lemmy.pastwind.top

Asyncio, twisted, tornado, gevent walk into a bar...

1 0
Hacker News @lemmy.smeargle.fans bot @lemmy.smeargle.fans
BOT

Asyncio, twisted, tornado, gevent walk into a bar

0 0

Asyncio, twisted, tornado, gevent walk into a bar

2 0
0 comments