Re:How to write Python extensions in Rust with PyO3
by jeremychone on Tuesday February 28, 2023 @03:49PM
(#34974636)
Pola.rs is another good example of how a great Rust library can have an excellent Python façade. Polars ingenuously uses Python's operator overloading scheme to maximize data frames operation efficiencies.
I think Python & Rust can become great pairs, especially in the data processing field.
It's a great way to expose Python bindings because it "feels" Pythonic. Most users run pip install deltalake and are completely unaware that the backend is implemented in Rust.
This is quite a different user experience than Python bindings for Java backends exposed via py4j. The py4j interfaces have the Java feel and require Java to be installed, which most Python users don't like.