I'd like to announce new event loop, written in Rust language.

https://github.com/PyO3/tokio

It is still in alpha stage. It provides most of asyncio event loop apis, 
except udp, but should be relatively easy to add.
I'd say tcp part is more or less stable, Aiohttp tests pass with tokio loop 
(~1800 tests). I am planing to run more tests from other libraries.

Performance wise it should be close to uvloop. I did tests in early stages 
of development. It is definitely
faster that default loop. 

But main motivation behind this project is to be able to mix Rust code with 
Python. Internal implementation still requires
more thinking, but it is already possible to to wait for python task/future 
completion in rust code and opposite. 

Project is still in early stage of development, if anyone interested, you 
are welcome to join.


https://github.com/PyO3 - Pythonium Trioxid (Thanks to Yury Selivanov for 
this name!)

Reply via email to