4 ms·
I like how this is a Rust project without any Python, that publishes a package to PyPI. It uses Maturin (https://github.com/PyO3/maturin https://github.com/PyO
by _han 4y ago
I like how this is a Rust project without any Python, that publishes a package to PyPI.
It uses Maturin (https://github.com/PyO3/maturin https://github.com/PyO3/maturin) for this, which I've never heard of but sounds really useful.
- faizshah 4y agoThis is really nice, I have been looking into learning Rust or Cython to speed up some critical paths. Does anyone know if there’s any overhead to using rust vs cython for extending python?
- japanuspus 4y agoIn my experience, the whole `PyO3`-project is a rare gem in language integrations since the developers appear to have an intricate understanding of the ecosystems on both side of the integration. The python parts are pythonic and the rust parts are "rusty". A joy to work with.
- mcronce 4y agoIt probably does help that both Python and Rust treat FFI as first-class in terms of importance. That said, yeah, PyO3 is a pretty awesome suite to work with.