# #523: Pyrefly: Fast, IDE-friendly typing for Python Page: https://stenobird.com/podcast/talk-python-to-me/523-pyrefly-fast-ide-friendly-typing-for-python Text version: https://stenobird.com/podcast/talk-python-to-me/523-pyrefly-fast-ide-friendly-typing-for-python.md Podcast: [Talk Python To Me](https://stenobird.com/podcast/talk-python-to-me) Published: 2025-10-13T07:00:00+00:00 Episode link: https://talkpython.fm/episodes/show/523/pyrefly-fast-ide-friendly-typing-for-python Audio file: https://talkpython.fm/episodes/download/523/pyrefly-fast-ide-friendly-typing-for-python.mp3 Processing state: processed JSON: https://stenobird.com/v1/public/podcasts/talk-python-to-me/episodes/523-pyrefly-fast-ide-friendly-typing-for-python Duration seconds: 4020 ## Resource Pyrefly is a new, Rust-based open-source type checker and language server from Meta designed for instant developer feedback. The project focuses on high-performance type inference and a seamless IDE experience to improve developer productivity. ## Highlights - Main idea: Pyrefly leverages Rust to provide near-instant type checking and language server capabilities - Practical takeaway: You can use Pyrefly strictly as a language server for better code navigation (go-to-definition) even without adding type annotations - Feature focus: The tool prioritizes out-of-the-box usability and descriptive error messages that explain how to fix type mismatches - Failure mode: As the project is currently in alpha, users should expect missing refactoring features and potential bugs - Integration: The tool is designed to work as a VS Code extension and a standalone language server ## Topics Python, Pyrefly, Rust, Type Checking, Language Server Protocol, Meta, IDE, Software Development ## Chapters - 6:10 — Pyrefly as a Language Server: How Pyrefly powers IDE features like hover information and go-to-definition through type inference. - 11:30 — Architectural Differences: Comparing Pyrefly's language server-first architecture to traditional type checkers like mypy. - 21:25 — Origins in Security: The evolution of Pyrefly from a security tool focused on analyzing data flow and preventing unsanitized input. - 26:30 — Performance and Memory Management: The importance of using Rust for controlling memory allocation and eviction in large codebases. - 31:30 — Supporting Type-Safe Code: How Pyrefly provides value to developers even in codebases that do not use explicit type annotations. - 36:50 — Developer Experience Goals: The philosophy of minimizing friction and providing helpful, actionable error messages. - 1:02:55 — The Road Ahead: Current limitations in the alpha release and the vision for future IDE features and CI integration. ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/talk-python-to-me/episodes/523-pyrefly-fast-ide-friendly-typing-for-python/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/talk-python-to-me/523-pyrefly-fast-ide-friendly-typing-for-python.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.