15 ms·
> Rust is probably a rock-solid FFI story away from being a serious part of my kit (pybind11 good, not like anything we have now). Check out PyO3: https://gith
by imron 5y ago
> Rust is probably a rock-solid FFI story away from being a serious part of my kit (pybind11 good, not like anything we have now).
Check out PyO3: https://github.com/PyO3/PyO3 https://github.com/PyO3/PyO3
- benreesman 5y agoI will! Thank you for the pointer!
- dureuill 5y agonote that IME, pyo3 was nowhere near as stable and reliable than pybind (or boost::python), at least at the time I last used it (2y ago? I remember soundness issues around inheritance, and I got a bona fide segfault without any unsafe). Their packaging tool, maturin, was already insanely good by then though.