3 ms·
Pyo3 support both. You can expose rust to python, and would look to python as native functions and classes or you can call python code from rust Pyo3 uses rust
by fafhrd91 9y ago
Pyo3 support both. You can expose rust to python, and would look to python as native functions and classes or you can call python code from rust
Pyo3 uses rust refs ownership to enforce proper Gil usage. You code won’t compile if you use Gil in wrong way