פייקון ישראל 2024

עברת לעבוד בעברית. התמיכה עדיין חלקית מאוד, הטפסים לא מתורגמים, וייתכנו שגיאות מערכת, אבל אפשר לכתוב מימין לשמאל, ואנחנו על זה. אם נתקלת בשגיאה, אפשר בדרך כלל לחזור צעד אחורה, לעבור לאנגלית ולהשלים את הפעולה.

Making Python 100x faster with less than 100 lines of Rust
16/09, 15:30–15:50 (Asia/Jerusalem), אולם ראשי (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.