Raman Hafiyatulin’s Post

Published pytures on crates.io — a small library that lets Rust Futures and Python Coroutines await each other. Came out of a real need: we have an algorithmic trading system in Rust and wanted to script it with async Python. Both sides are poll-based state machines under the hood, so adapting one to the other turned out to be a clean problem. The tricky part was getting the wakeup semantics right so nothing busy-polls unless necessary. The entire public API is two types. BSD-3-Clause. Github: https://lnkd.in/dFT5HBec crates.io: https://lnkd.in/dzzNAgRW #rust #python #async #opensource

To view or add a comment, sign in

Explore content categories