asyncio vs cothreads #71
Replies: 4 comments 3 replies
-
My recent projects have exclusively used From my understanding the main reason to stick to cothread is if you need to interface with code that already uses it, as trying to mix the two different systems can easily lead to a lot of mysterious, hard-to-debug, issues. You can also use |
Beta Was this translation helpful? Give feedback.
-
Hi @Robatronic , hope you don't mind me moving your recent issues over here into the (newly opened) discussions section! The distinction between |
Beta Was this translation helpful? Give feedback.
-
Also, cothread is an "implicit yield" module like gevent (which it also predates), while asyncio is an "explicit yield" module. Searching for "asyncio vs gevent" will give you more details on this topic: |
Beta Was this translation helpful? Give feedback.
-
This could be marked as answered. |
Beta Was this translation helpful? Give feedback.
-
It seems to me that asyncio will work on both Windows and *nix.
Is there a compelling reason to use cothreads in Unix-land....?
Beta Was this translation helpful? Give feedback.
All reactions