David Hewitt
davidhewitt.dev
David Hewitt
@davidhewitt.dev
Developing PyO3 to bring Rust 🦀 and Python 🐍 together.

Working with the team at Pydantic to build software that developers love.
TIL, this is so helpful!
September 3, 2025 at 8:44 AM
Love these kinds of wins! Have spent a lot of time trying to factor out PyO3's proc macros in the same way 😁
August 16, 2025 at 8:44 AM
I think worthy of a standalone issue, even if we ultimately decide the solution is the same thing there's a good chance it can be a standalone feature 👍
August 1, 2025 at 12:24 PM
Reposted by David Hewitt
Build a tool with Rust, then integrate it into Python with the amazing PyO3 🦀 😍 📈
July 25, 2025 at 12:27 PM
I have wanted to have the ability to derive constructors for a while, `Default::default()` would make a ton of sense.

Perhaps related closely to the `#[pyclass(dataclass)]` idea I discuss on github.com/PyO3/pyo3/is...
`#[pyclass]` trait ergonomics · Issue #4207 · PyO3/pyo3
Following up to #4202 and #4206 I wanted to write down something I've been thinking about for a while. It looks like we're moving ahead with accepting those options so I'll assume that at least the...
github.com
August 1, 2025 at 11:39 AM
Beyond just compile times, the ability to iterate with Python in REPL and notebook environments is so valuable.

I've seen this pattern time and time again where the machinery needs to be in a native language and Python gets to sit in the driver's seat.
August 1, 2025 at 11:36 AM
Yeah, this is a frustrating one. I have ideas how to make it better, really cargo test should not be broken like this. "Just" need to write them down and get buy in.
June 19, 2025 at 6:46 AM