Speaker

Neil Mitchell

Programmer, META

Neil Mitchell is a Haskell/Rust programmer living in Cambridge with his family. He has a PhD in Computer Science from York University. He is currently at Meta, where he is a major contributor to two large Rust projects: Buck2, the open-source build system, and Pyrefly, a new Python type-checker and IDE platform designed to check 1.8M lines per second. He is the long-time author of popular open source Haskell developer tools including Shake, Hoogle and HLint.

Neil Mitchell
The talk

Pyrefly: A Python type checker in Rust

Pyrefly is a new Python type checker and code navigation system, written in Rust, and designed with scalability in mind. On a large machine, Pyrefly checks 1.8 million lines of Python per second and is used to check the Instagram codebase. Our previous Python type checker was written in OCaml, so we took particular care to make sure the Rust code was accessible to new Rust programmers, while also ensuring high performance and correctness, the reasons that made us choose Rust in the first place. That approach required a careful separation between framework and type checking nuances, allowing domain experts from both areas to work together effectively. In this talk we'll explain how Pyrefly models and validates that type system, which choices it makes, and how those build into a complete type checker. For Rust developers building compilers, linters, build systems or LSPs, you'll leave with concrete patterns for when to let Rust's speed buy you simplicity, and when you actually need to pay for complexity.

The slot and track are confirmed once the full running order is published. Every talk is recorded and goes up on YouTube afterwards, so the room is not the whole audience.

See the rest of the line-up