Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
maturin
Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages
I've done it using cpython and pyo3 for performance in scientific computing. Compared to C++ I found using Rust got rid of most debugging across the FFI boundary. Eliminating memory errors and providing clear compilation errors when multithreading made more a difference for me than type safety, though it's not unrelated.
I've done it using cpython and pyo3 for performance in scientific computing. Compared to C++ I found using Rust got rid of most debugging across the FFI boundary. Eliminating memory errors and providing clear compilation errors when multithreading made more a difference for me than type safety, though it's not unrelated.
Aside from the PyO3 and rust-cpython crates already mentioned, I'd suggest maturin as a way to integrate your build processes or possibly setuptools-rust.
Aside from the PyO3 and rust-cpython crates already mentioned, I'd suggest maturin as a way to integrate your build processes or possibly setuptools-rust.