DiscoverTalk Python To Me#487: Building Rust Extensions for Python
#487: Building Rust Extensions for Python

#487: Building Rust Extensions for Python

Update: 2024-12-01
Share

Description

There has been a lot of changes in the low-level Python space these days. The biggest has to be how many projects have rewritten core performance-intensive sections in Rust. Or even the wholesale adoption of Rust for newer projects such as uv and ruff. On this episode, we dive into the tools and workflow needed to build these portions of Python apps in Rust with David Seddon and Samuel Colvin.



Episode sponsors



Posit

Data Citizens Podcast

Talk Python Courses



Links from the show



Samuel Colvin: github.com/samuelcolvin

David Seddon: github.com/seddonym

David's blog: seddonym.me



Pydantic: pydantic.dev

PEP 0759: peps.python.org

TypeShed: github.com

Maturin: maturin.rs

rloop: github.com

Install Rust: rust-lang.org

Py03: pyo3.rs

The Rust Programming Language (book): https://doc.rust-lang.org/book/

Grimp: github.com

Grimp Workflows: github.com

White House recommends memory safe languages: whitehouse.gov

Installing Rust: rust-lang.org

jiter: github.com

import-linter: github.com

Logfire: pydantic.dev

Crabs in Snakes, David Seddon, Pycon Italia: youtube.com

Kraken engineering blog: engineering.kraken.tech

Serde: serde.rs

Mypy stub testing: mypy.readthedocs.io

Watch this episode on YouTube: youtube.com

Episode transcripts: talkpython.fm



--- Stay in touch with us ---

Subscribe to us on YouTube: youtube.com

Follow Talk Python on Mastodon: talkpython

Follow Michael on Mastodon: mkennedy
Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

#487: Building Rust Extensions for Python

#487: Building Rust Extensions for Python

Michael Kennedy (@mkennedy)