Explore how Pydantic V2 harnesses Rust's capabilities in this 46-minute PyCon US talk. Gain insights into the popular Python data validation library's ground-up rebuild, which now utilizes Rust for most validation and serialization logic. Learn about Pydantic's widespread adoption, new features in V2, and the architectural changes that enhance extensibility, maintainability, and performance. Dive into real-world examples from the Pydantic V2 codebase to understand the advantages and challenges of implementing libraries in Rust rather than Python. Suitable for Python developers interested in Python-Rust integration, this talk requires no prior knowledge of Rust or Pydantic but provides resources for further learning on topics such as the Pydantic V2 plan, pydantic-core package, PyO3 library, and building Python extensions with Rust.
Overview
Syllabus
Talks - Samuel Colvin: How Pydantic V2 leverages Rust's Superpowers
Taught by
PyCon US