PyO3 with David Hewitt
Posted Fri, 19 May 2023 18:32:00 +0000Allen Wyma talks with David Hewitt, contributor to the 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
- Discord: Rustacean Station
- Github: @rustacean-station
- Email: [email protected]
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: Aerocity
Audio Editing: Plangora
Hosting Infrastructure: Jon Gjengset
Show Notes: Plangora
Hosts: Allen Wyma