Faster Python without losing your hair
A tutorial on writing C extensions in Rust, the Mozilla-backed competitor to C and C++. Writing native-code extensions doesn’t have to be a last resort any more.
This is a walkthrough on how you can write world-beatingly fast code to optimise hot paths in Python code. I’m a former professional Python programmer and now I write Rust for Parity Technologies. I love both languages and believe that with Rust writing C extensions can be as much a part of the average Pythonista’s optimisation toolkit as any other technique - it doesn’t just have to be scary any more.
I will go a little into the precise reasons that the Rust code is so much faster, too. I’ve supplied a link to an article of mine about some of what makes fast Rust code fast in the “links” section.
My two favourite things in tech is improving the accessibility of programming and making stuff go fast, so combining Python’s ergonomics with Rust’s safe and easy speed is a topic close to my heart.
This could be a talk or a workshop, the latter would require participants to bring a laptop. Probably you would need Python and Rustup installed, although neither take long to set up if not.
Jack is a lover of good Python and cold beer, working as a core developer at Parity Technologies. He’s a professional writer of fastware and an unprofessional tutorialist.