Rustacean Station  cover image

PyO3 with David Hewitt

Rustacean Station

00:00

The Benefits of Rewriting Python Code in Rust

If you just like naively take a Rust or Python function, and you rewrite it in Rust, you kind of get like a three to 10x speed up just for free. And then the other reason why I'd argue to rewrite Python code and Rust is for that correctness or reliability factor. So by taking bits of your code that are even safety critical, you might not see a huge performance improvement but you might see significant improvement to your reliability.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app