Rust Manchester 2: Speeding Up the Snake: Extending Python with Rust


Details
Speeding Up the Snake: Extending Python with Rust with David Hewitt
David will be sharing how to use PyO3 to create a Python module implemented in Rust. As well as for the fun of it, a Python module implemented in Rust can leverage Rust's great performance and make use of existing Rust code. We'll begin with the basics of how to set up a new Rust-backed Python package, and then implement a couple of simple functions which span the two languages. Expect to see snippets of both Rust and Python code; the only prior knowledge assumed will be knowledge of at least one of the two languages.
About David:
David is the core maintainer of PyO3 (https://github.com/pyo3/pyo3), a Rust "crate" used to interact with the Python interpreter. David has been coding for over ten years, professionally for seven, and increasingly using Rust for the last five. His day job is working at a company called Re:infer (https://reinfer.io/), where he builds backend components for a SaaS platform empowering non-technical users to train ML models to process conversations. If you want to find out a little more about David (and the other projects besides PyO3), see his Github profile at https://github.com/davidhewitt

Rust Manchester 2: Speeding Up the Snake: Extending Python with Rust