Writing #python extension with #Rust
#pyo3 #maturin
https://girishjoshi.io/post/writing-python-extension-with-rust/
Rather than continuing to carry Numba around as a dep, holding back support for new Python versions until Numba supports them, and inducing run-time compile overhead, should I just switch the performance-sensitive parts of LensKit over to #rust with #pyo3? I'd been hesitant to add a non-Python language for ease of contribution, but Rust is as easy as any candidate to write (esp. e.g. C++), and Rust might be more legible than the complexities of Numba?
Anyone familiar with Rust and PyO3 want to jump on Discord and help me improve MarkupSafe in Rust? My initial implementation is about 6 times slower than the native implementation on a basic benchmark. https://discord.gg/pallets #Python #Rust #PyO3 #PythonFlask
#pythonflask #pyo3 #Rust #Python
Today I wrote about how to write a #Python module in #rustlang and #pyo3 project. https://kushaldas.in/posts/writing-python-module-in-rust-using-pyo3.html
RT @pganssle@twitter.com
#PyO3 is considering dropping support for Python 3.5, but is looking for feedback from users. See the issue here: https://github.com/PyO3/pyo3/issues/685
#PyO3 is considering dropping support for Python 3.5, but is looking for feedback from users. See the issue here: https://github.com/PyO3/pyo3/issues/685
rust-cpython, https://github.com/dgrunwald/rust-cpython
This rust crate allows to write Rust ↔ Python bindings. Combined with pyo3-pack, https://github.com/PyO3/pyo3-pack, it's really a smooth experience to write Python extension with Rust!
I'm experimenting with it. Love it.