PyCon Lithuania 2024

David Hewitt

David is a Staff Software Engineer at Pydantic and lead maintainer of PyO3, and a Python developer for a decade. Ever since discovering Rust shortly after its 1.0 release in 2015 David has been passionate about using Rust as well as Python. In 2019 David found PyO3 needing more contributors and previous experience working in a mixed Python/C++ codebase had left him with plenty of ideas of how Rust & Python can flourish together. Nowadays Rust is powering the core of many Python packages and David works to continue to build this growing ecosystem.


Twitter handle. For example (@handle-name)

@davidhewittdev

Notable open source projects that you contribute to. Add URLs, one per line.

https://github.com/pydantic/pydantic
https://github.com/PyO3/pyo3


Session

04-04
14:30
25min
Using Rust & PyO3 to make Pydantic v2 even faster
David Hewitt

In this talk we'll review some of the changes we've made to Pydantic since 2.0 to push performance even further. This is possible largely because Pydantic chose to implement the core in Rust. We'll focus on two main topics:

  • Come learn about optimizations Pydantic has been working on since 2.0
  • Come see our draft ideas how Pydantic v3 could be even faster than v2

You should leave this talk excited about performance wins for your apps using Pydantic and inspired to try Rust in your own code.

Python
Room 111