PyCon Israel 2024

Your locale preferences have been saved. We like to think that we have excellent support for English in pretalx, but if you encounter issues or errors, please contact us!

Making Python 100x faster with less than 100 lines of Rust
09-16, 15:30–15:50 (Asia/Jerusalem), Main Hall (30)
Language: עברית

We will take a small demo library which uses numpy, and improve its performance 100x using the py-spy sampling profiler and Rust


Python is awesome, but can be super slow

Even when using packages like numpy, we can still be limited by Python's general slowness.

In this talk, I'll walk you through taking a demo small library which uses numpy, and building a native extension to it with Rust, that improves performance by 100x, all while keeping the original API the same.


Expected experience level of participants

Intermediate

Target audience

Developers

I have 15 years of experience, most of which I spent working with Python and more recently Rust,
on a variety of projects in networking, data, embedded and more.