pdatastructs.rs icon indicating copy to clipboard operation
pdatastructs.rs copied to clipboard

Python bindings

Open crepererum opened this issue 5 years ago • 1 comments

Add python bindings, starting with a single data structure and input type. Hashing should be done in Rust. Think about if C bindings and FFI (like milksnake) or direct bindings (like pyo3) would be better.

crepererum avatar Oct 26 '18 11:10 crepererum

C bindings with FFI make it reusable in other languages too (any that supports FFI). pyo3 will probably be faster because it integrates deeper into CPython, but your code will be Python specific...

(sorry for showing up uninvited, but I'm doing some stuff with Rust and Python and thought the feedback would be useful)

Also, great lib!

luizirber avatar Oct 26 '18 17:10 luizirber