Complete Transition to Rust: Nautilus Trader #1582
-
Hello everyone, I just arrived at the Nautilus Trader community and have looked into the project. I noticed that important underlying data definitions, storage, and networking have been ported to Rust. However, there still exists a significant amount of FFI and PyO3 interoperability in the project. Is there a timeline for when the project plans to fully migrate to Rust and Python? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @xtay315 There's a few of us working on this incrementally with varying amounts of bandwidth. The goal certainly is to eliminate Cython and all FFI from the NautilusTrader codebase - currently there's just too much variance to give any estimates though. Rust can take a surprisingly long time to satisfy the compiler with ported code, and often design patterns which worked in an OO and Python context don't work well with Rust. Let me know if the Rust codebase is something you're interested in becoming involved with though. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response, I really admire your contributions, this is a great code repository, good job. |
Beta Was this translation helpful? Give feedback.
Hi @xtay315
There's a few of us working on this incrementally with varying amounts of bandwidth. The goal certainly is to eliminate Cython and all FFI from the NautilusTrader codebase - currently there's just too much variance to give any estimates though. Rust can take a surprisingly long time to satisfy the compiler with ported code, and often design patterns which worked in an OO and Python context don't work well with Rust.
Let me know if the Rust codebase is something you're interested in becoming involved with though.