3 ms·
> Rust (with the help of pyo3) unlocks true native performance for everyday Python code, with minimal compromises. Hasn't he heard of ctypes? You can wrap C st
by tus666 4y ago
> Rust (with the help of pyo3) unlocks true native performance for everyday Python code, with minimal compromises.
Hasn't he heard of ctypes? You can wrap C structs add Python objects since forever.
- UncleEntity 4y agoThere’s probably a way to get at the numpy objects without having to go through the python runtime and do all the computation in pure C. I assume, haven’t really messed with numpy for anything but I can’t imagine it wouldn’t work that way.