<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/getting-started-with-rust-as-python-devs-plu9avwmr" -->

---
title: Getting Started with Rust as Python Devs | daily.dev
description: A podcast conversation between Michael Kennedy and Christopher Trudeau walks Python developers through Rust from a Python-first perspective. It frames three...
canonical: https://daily.dev/posts/getting-started-with-rust-as-python-devs-plu9avwmr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Getting Started with Rust as Python Devs | daily.dev
og:description: A podcast conversation between Michael Kennedy and Christopher Trudeau walks Python developers through Rust from a Python-first perspective. It frames three...
og:url: https://daily.dev/posts/getting-started-with-rust-as-python-devs-plu9avwmr
og:image: https://api.daily.dev/og/posts/PLU9AVWmR.png
og:image:alt: Getting Started with Rust as Python Devs
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Started with Rust as Python Devs

**[Planet Python](https://daily.dev/sources/planetpython)** · [@mkennedy](https://daily.dev/mkennedy) · 105 min read · 3 upvotes · 0 comments

## Summary

A podcast conversation between Michael Kennedy and Christopher Trudeau walks Python developers through Rust from a Python-first perspective. It frames three ways Rust shows up in the Python world: standalone tools like ruff, Rust-backed libraries like Pydantic and Polars that Python imports, and Rust servers like Granian that embed the Python interpreter. The discussion covers ownership and the borrow checker, stack versus heap, sized integers, compiled binaries versus bytecode, Rust's six-week release cadence with three-year editions, tooling parallels (rustup/cargo/Cargo.toml mapped to pyenv/uv/pyproject.toml), PyO3 and maturin for building Python extensions in Rust, and when Rust interop actually pays off versus adds overhead. It closes with resources including Trudeau's new course, the Rust book, and the awesome-python-rs list.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://talkpython.fm/episodes/show/563/getting-started-with-rust-as-python-devs>

## Questions this post answers

### What is PyO3 used for in Rust and Python interop?

PyO3 is the Rust crate that defines the interface between a compiled Rust dynamic library (.so or .dll) and Python's ABI. It provides Rust objects mirroring Python objects, such as PyInt, and macros attached to Rust functions or classes to expose them to Python, including how arguments map, so the compiled result can be imported as a normal Python module.

_Building a Rust extension for Python is easier to plan with the PyO3 and maturin details developers discuss on daily.dev._

### Why is Polars packaged as two separate wheels?

Polars installs as two wheels because maturin separates the universal Python-only wheel from the platform-specific wheel that contains the compiled Rust library. The Python wheel holds only Python code while the platform-specific one carries the compiled binary for a given operating system and architecture; maturin does not require this split and can bundle everything into one wheel if a project chooses.

_Understanding wheel packaging choices helps developers evaluating Rust-backed libraries like Polars on daily.dev._

### Why can calling Rust code from Python sometimes make a program slower instead of faster?

Every call across the Python-Rust boundary carries a cost, so code that crosses that boundary constantly, or passes objects back and forth repeatedly, can end up slower in Rust than staying in pure Python. The pattern that works well, used by Polars and Pydantic, is handing Rust one large chunk of work, such as a JSON payload or number-crunching job, and taking back a single result rather than making frequent small calls.

_Deciding where Rust actually speeds up a Python codebase is easier with performance discussions like this on daily.dev._

## Similar posts on daily.dev

- [Python Is Not Enough: Why Pythonistas Love Rust \(Podcast\)](https://daily.dev/posts/python-is-not-enough-why-pythonistas-love-rust-podcast--ofm36knkh) · Planet Python · 31 upvotes · 2 comments
- [Episode \#292: Becoming a Better Python Developer Through Learning Rust – The Real Python Podcast](https://daily.dev/posts/episode-292-becoming-a-better-python-developer-through-learning-rust-the-real-python-podcast-mrpzri9q5) · Real Python · 2 upvotes · 0 comments
- [Rust vs. Python: Finding the right balance between speed and simplicity](https://daily.dev/posts/rust-vs-python-finding-the-right-balance-between-speed-and-simplicity-kwyecssjv) · JetBrains · 3 upvotes · 0 comments
- [How to Call Rust from Python](https://daily.dev/posts/how-to-call-rust-from-python-bin3ypm03) · Towards Data Science · 5 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#rust](https://daily.dev/tags/rust), [#polars](https://daily.dev/tags/polars)

[View this post on daily.dev](https://daily.dev/posts/getting-started-with-rust-as-python-devs-plu9avwmr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Getting Started with Rust as Python Devs","url":"https://daily.dev/posts/getting-started-with-rust-as-python-devs-plu9avwmr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/getting-started-with-rust-as-python-devs-plu9avwmr"},"datePublished":"2026-09-16T16:50:22.193Z","dateModified":"2026-09-17T13:00:17.105Z","description":"A podcast conversation between Michael Kennedy and Christopher Trudeau walks Python developers through Rust from a Python-first perspective. It frames three...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/894a7f5c793073d62623933f4fb8f10f?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/894a7f5c793073d62623933f4fb8f10f?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Planet Python","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Michael Kennedy","url":"https://daily.dev/mkennedy","image":"https://media.daily.dev/image/upload/s--CAIUuwxP--/f_auto,q_auto/v1701901463/avatars/avatar_5Q1yteeM08cxesQG2actL","description":"Python enthusiast. Host of @talkpython and @pythonbytes podcasts, founder of Talk Python Training.","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":60}},"commentCount":0,"discussionUrl":"https://daily.dev/posts/getting-started-with-rust-as-python-devs-plu9avwmr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,rust,polars","timeRequired":"PT105M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Planet Python","item":"https://daily.dev/sources/planetpython"},{"@type":"ListItem","position":3,"name":"Getting Started with Rust as Python Devs"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/getting-started-with-rust-as-python-devs-plu9avwmr#faq","mainEntity":[{"@type":"Question","name":"What is PyO3 used for in Rust and Python interop?","acceptedAnswer":{"@type":"Answer","text":"PyO3 is the Rust crate that defines the interface between a compiled Rust dynamic library (.so or .dll) and Python's ABI. It provides Rust objects mirroring Python objects, such as PyInt, and macros attached to Rust functions or classes to expose them to Python, including how arguments map, so the compiled result can be imported as a normal Python module. Building a Rust extension for Python is easier to plan with the PyO3 and maturin details developers discuss on daily.dev."}},{"@type":"Question","name":"Why is Polars packaged as two separate wheels?","acceptedAnswer":{"@type":"Answer","text":"Polars installs as two wheels because maturin separates the universal Python-only wheel from the platform-specific wheel that contains the compiled Rust library. The Python wheel holds only Python code while the platform-specific one carries the compiled binary for a given operating system and architecture; maturin does not require this split and can bundle everything into one wheel if a project chooses. Understanding wheel packaging choices helps developers evaluating Rust-backed libraries like Polars on daily.dev."}},{"@type":"Question","name":"Why can calling Rust code from Python sometimes make a program slower instead of faster?","acceptedAnswer":{"@type":"Answer","text":"Every call across the Python-Rust boundary carries a cost, so code that crosses that boundary constantly, or passes objects back and forth repeatedly, can end up slower in Rust than staying in pure Python. The pattern that works well, used by Polars and Pydantic, is handing Rust one large chunk of work, such as a JSON payload or number-crunching job, and taking back a single result rather than making frequent small calls. Deciding where Rust actually speeds up a Python codebase is easier with performance discussions like this on daily.dev."}}]}
```

