Hacker News new | ask | show | jobs
by tus666 1179 days 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.

1 comments

There’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.