Buy Tickets Login

Speed up your Python modules using Rust

A comparative analysis of Python v/s Rust's performance and how using Rust along with Python gives 20x better performance in web apps.

Python is a great language, we all know that. Although, sometimes Python can be a bit of a slowcoach when it comes to performing certain tasks. That's where developers have been using C/C++, building extensions and integrating them with Python to speed up processes. However, writing C/C++ extensions with strict deadlines and timelines is a bit difficult and also, these low-level languages tend to introduce bugs with respect to memory management, lead to segmentation faults and data races. How often have we all faced the dangling pointer error in C/C++ just because we forgot the de-reference a pointer somewhere?

Enter Rust, a modern systems programming language that's much better in terms of memory safety, libraries and owing to its amazing ownership & borrowing principles - keeps the bugs few. documentation up to date and a whole lot more! Bonus - it's a completely open sourced programming language, supported by Mozilla, the non-profit behind the Firefox browser.

A basic outline of the talk: 1. Python's performance story and the need for native extensions [4-5 minutes] 2. Problems with C/C++ [4-5 minutes] 3. Rust and its success stories [4-5 minutes] 4. Why is Rust so cool!? [18-20 minutes] 4.1 Ownership & Borrowing, 4.2 Garbage Collection, 4.3 FFI (Foreign Function Interface) - along with code snippets 5. Get started with Rust! - links to community & reach-out [2 minutes] 6. Q/A - [5 minutes]

Who is this talk for? * Python developers who deal with performance issues on a daily basis * The curious folk who want to know what Rust is, and why it's growing steadily * C/C++ developers who'd like to check out a new systems level programming language

> Skill level: intermediate
> Duration: 45 min

Photo of Abhiram Ravikumar

Abhiram Ravikumar

Abhiram has been a part of the open source world in Bangalore for over 3 years now. As a student volunteer in Bangalore, he started contributing to Mozilla as well as FSMK (Free Software Movement Karnataka). After becoming a Mozilla Rep, he has presented over 40 sessions and workshops on python scripting, web dev, Rust and git version control at various venues all over India. Being an internet activist, he was an integral part of the #SaveTheInternet campaign in India during the fight against net neutrality violations. In 2016, he was invited to Mozilla’s Leadership Summit in Singapore to present a talk on running a successful campus club for ~3 years.

Currently, he is a Mozilla Tech Speaker well versed in topics like full stack web development, decentralization, scalable infrastructure set up, open source contribution practices and mentoring web enthusiasts. For the past 2 years, he is working at SAP Labs in Bangalore as a full stack web developer and continues to contribute to Mozilla India on a voluntary basis.

Recently, he was invited to record a programming course on Rust by the educational website at Los Angeles, California. The course is titled First Look: Rust and has 18,000+ views.

Subscribe for latest news

We usually send one email per month between May and October.
You can unsubscribe at any time by visiting the link at the bottom of the newsletter.