Re:Extending Python with Rust
by pillefitz on Tuesday December 27, 2022 @08:24AM
(#34148371)
Implementing the hot path in e.g. C, compiling it into a lib an calling it using e.g. ctypes is very little effort and can yield dramatic runtime improvements / reduced bill. It's been an excellent use of my time, at least.
I'd recommend using Numba first, though.