We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Extending Python with Rust

Formal Metadata

Title
Extending Python with Rust
Subtitle
Introduction and a hands-on demo of writing Python extension in Rust
Title of Series
Number of Parts
130
Author
License
CC Attribution - NonCommercial - ShareAlike 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
Rust is a rising star of the programming language world. I'd like to discuss it from a Python developer perspective. Obviously, Rust is not a replacement for Python, but in case you're seeking better performance it may be a good idea to build an extension. This is safer and arguably easier to do in Rust than in C. In this talk we will take a look at existing crates that provide interface to Python and see how easy it is to use them. Then we go through the demo and see it in action. Run some benchmarks against pure Python and also Cython. Write a Dockerfile to build it all together. Discuss CI/CD for mixed Rust/Python projects.