~/talk

How Pydantic V2 leverages Rust's Superpowers

Talkat PyCon US 2023 · 2023-04-19..04-27· [python, rust]
slides:none on file

Explains Pydantic V2’s redesign that moves most validation and serialization logic into Rust (via pydantic-core and PyO3) and presents new Pydantic V2 features. Uses examples from the Pydantic V2 codebase to show how Rust changed the library’s architecture, the performance benefits, and the trade-offs and design decisions of implementing library logic in Rust instead of Python.

AI-written summary · about

  1. 0:00Start
  2. 6:07What about Rust?
  3. 9:38How Rust?
  4. 11:29Python Interface to Rust
  5. 13:30Pydantic V2 Architecture pydantic-core
  6. 18:21Performance
  7. 20:17Builtin JSON parsing
  8. 24:01Recursive Models
  9. 26:22Alias Paths
  10. 27:50Generics
  11. 32:21AnalysedType
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.