Rustacean Station

PyO3 with David Hewitt

Freitag, 19. Mai 2023 · 1 h 02

MP3

Shownotes

Allen Wyma talks with David Hewitt (github.com/davidhewitt), contributor to the github.com/PyO3/pyo3 crate that helps to create Python extensions using Rust.

Contributing to Rustacean Station

Rustacean Station is a community project; get in touch with us if you’d like to suggest an idea for an episode or offer your services as a host or audio editor!

• Twitter: @rustaceanfm (twitter.com/rustaceanfm)

• Discord: Rustacean Station (discord.gg/cHc3Gyc)

• Github: @rustacean-station (github.com/rustacean-station)

• Email: hello@rustacean-station.org

Timestamps

• [@0:00] - Introduction PyO3

• [@5:03] - History of PyO3

• [@9:14] - Maintainers of PyO3

• [@12:15] - Comparing different languages for machine learning

• [@16:21] - Python’s ability to tap into native languages

• [@17:38] - Consideration of using Rust with Python

• [@20:39] - Python’s Global Interpreter Lock (GIL)

• [@23:14] - Python vs Rust performance

• [@24:20] - Rust error handling and two reasons to move Python code to Rust

• [@26:08] - The complaints about Python

• [@31:03] - C vs Python

• [@33:17] - Why use Rust instead of C in the cryptography library

• [@36:06] - Small percentage of people who get cut out by the use of Rust

• [@39:36] - The importance of memory safety

• [@41:27] - Zig and Rust

• [@43:58] - The reliability of Rust use in Android Kernel

• [@46:32] - Python interpreter

• [@51:13] - Inline Python

• [@56:05] - How to get started with Rust

• [@57:41] - The future of PyO3

• [@59:07] - Parting thoughts

Credits

Intro Theme: twitter.com/AerocityMusic

Audio Editing: Plangora (twitter.com/plangora)

Hosting Infrastructure: Jon Gjengset (twitter.com/jonhoo)

Show Notes: Plangora (twitter.com/plangora)

Hosts: Allen Wyma (twitter.com/allenwyma)

0:00 / 0:00