4 ms·
The post mentions in passing David Beazley's curio[1] project. Is anyone using curio for async programming instead of asyncio? The curio docs are fun to read t
by jdnier 10y ago
The post mentions in passing David Beazley's curio[1] project. Is anyone using curio for async programming instead of asyncio?
The curio docs are fun to read through and didn't leave me feeling lost. They're also full of understandable examples of using the new async/await syntax.
I've made some simple scripts with curio but have found I keep hesitating take on the asyncio docs to learn it "the real way". Any thoughts on whether curio might be a plausible alternative to asyncio?
[1] http://curio.readthedocs.io/en/latest/tutorial.html http://curio.readthedocs.io/en/latest/tutorial.html
- scribu 10y agoSince it's polling for I/O events and doesn't use threads [1], it does indeed sound like a plausible alternative for doing non-blocking I/O. I think I'm going to take a stab at using it, since asyncio doesn't have a mature ecosystem around it anyway. [1] http://curio.readthedocs.io/en/latest/index.html#under-the-covers http://curio.readthedocs.io/en/latest/index.html#under-the-c...