News for hackers. Stuff that matters.
Re:PyO3: Rust Bindings for the Python Interpreter by dbrgn on Friday January 29, 2021 @10:01AM (#25957881)
If you're interested in publishing Rust libraries as Python packages (or integrating Rust code into an existing Python package), check out https://github.com/PyO3/maturin and https://github.com/PyO3/setuptools-rust.
Re:PyO3: Rust Bindings for the Python Interpreter by edenhyacinth on Friday January 29, 2021 @10:35AM (#25958283)
Been using Maturin for a little while professionally, and it's surprisingly good. There's a few bugbears here and there - I haven't found a way to have Cargo Test & a pyo3 library working at the same time - but overall it's a lot more pleasant than working with Rust and R was.