kylebarron / arro3

A minimal Python library for Apache Arrow, connecting to the Rust arrow crate
https://kylebarron.dev/arro3
Apache License 2.0
96 stars 7 forks source link

blog post on using pyo3 effectively #244

Open kylebarron opened 5 days ago

kylebarron commented 5 days ago

https://github.com/kylebarron/kylebarron.github.io/issues/22

3ok commented 4 days ago

I'm looking forward to this. Reading the repository's code has been very good learning resource for me so far. 😊

I'm mostly a Python developer with fairly basic knowledge in Rust, so when working with pyo3, I find it a bit hard to organize my structs, enums, traits, etc. in a way that makes it easy to build pythonic packages.

The other aspect of it is the efficiency, it's been pretty interesting to see how to implement certain aspects of arro3 efficiently, such as the use of the PyCapsule interface, or the zero-copy integration with Numpy.

kylebarron commented 4 days ago

I don't have a great track record of actually finishing blog posts I want to write, but I'll try!