David Hewitt's Avatar

David Hewitt

@davidhewitt.dev.bsky.social

Developing PyO3 to bring Rust πŸ¦€ and Python 🐍 together. Working with the team at Pydantic to build software that developers love.

852 Followers  |  52 Following  |  13 Posts  |  Joined: 31.10.2023  |  1.7187

Latest posts by davidhewitt.dev on Bluesky

Preview
Vote to promote Emma Smith As her mentor, I am very happy to propose promoting Emma Smith (@emmatyping on DPO and GitHub) to core developer. Emma has been a long time contributor to Python in many areas over the years, from myp...

I'm *so* excited to share that I am now officially a CPython Core Developer! πŸ₯³

I wrote my first Python in 2012, and immediately fell in love with the language. I'm honored that I am a part of, and can give back to, such an amazing, welcoming community!

discuss.python.org/t/vote-to-pr...

01.08.2025 19:27 β€” πŸ‘ 103    πŸ” 10    πŸ’¬ 11    πŸ“Œ 0

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 πŸ‘

01.08.2025 12:24 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Rust, Python, and TypeScript: the new trifecta Β· baby steps

I completely agree with this great blog post by @nikomatsakis.com betting that Rust, Python and Typescript will be stables of the AI coding era πŸ‘

These languages combined have the package ecosystems and domain coverage to meet most programming needs.

smallcultfollowing.com/babysteps/bl...

01.08.2025 11:45 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Build a tool with Rust, then integrate it into Python with the amazing PyO3 πŸ¦€ 😍 πŸ“ˆ

25.07.2025 12:27 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Preview
`#[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...

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...

01.08.2025 11:39 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

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.

01.08.2025 11:36 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

pyo3 is great. sick of Rust compile times? Just build your Rust crate into a Python module, then use it with all your other Python

31.07.2025 22:40 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 3    πŸ“Œ 0
Preview
Legacy Client pooling messes tower::TraceLayer tracing Β· Issue #3904 Β· hyperium/hyper Version hyper 1.6.0 hyper-util 0.1.12 tower 0.5.2 tower-http 0.6.4 Platform Linux 6.10.14-linuxkit #1 SMP Tue Apr 15 16:00:54 UTC 2025 aarch64 GNU/Linux Description When using tower_http::TraceLaye...

In case anyone else has been having recent trouble with Rust tracing having spans seemingly hanging open at random - spent a huge debugging session to arrive at github.com/hyperium/hyp...

Will be interesting to see what the solution to this one is.

07.07.2025 19:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

The uv build backend is now stable, and considered ready for production use.

An alternative to setuptools, hatchling, etc. for pure Python projects, with a focus on good defaults, user-friendly error messages, and performance.

When used with uv, it's 10-35x faster.

03.07.2025 01:55 β€” πŸ‘ 231    πŸ” 42    πŸ’¬ 6    πŸ“Œ 3

I'm back, babbyyyy

More async coming your way at @rustconf.com. I've spent many years writing software with async Rust. It's a great tool but easy to misuse. Sign up and I can teach you some of my knowledge to kick start your teams.

28.06.2025 10:25 β€” πŸ‘ 4    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0

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.

19.06.2025 06:46 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Rustacean Station Come journey with us into the weird, wonderful, and wily world of Rust.

A bit of a long shot: the regular audio editor for the "What's New" Rustacean Station episodes is now busy with other life stuff. The last episode I edited myself, but it took ages! Anyone know an editor (ideally familiar with Rust, but not a requirement) who'd take on a regular (paid) editing gig?

14.06.2025 07:34 β€” πŸ‘ 18    πŸ” 9    πŸ’¬ 1    πŸ“Œ 0
Post image

This is the first time I am doing this #TeaWithCheuk a 1-1 meeting with me at #PyDataLDN to talk about anything #Python #PyCharm #DataScience etc. limited slot, booking link in the comment.

@pydatalondon.bsky.social @pycharm.dev

31.05.2025 09:10 β€” πŸ‘ 10    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0

A critical component for our database in Pydantic Logfire. Having a lot of fun building with this!

17.05.2025 11:00 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Slidev

Thanks to everybody who came to my talk at #PyConUS yesterday! As promised, here are the slides: pycon-us-2025-davidhewitt.vercel.app

17.05.2025 10:59 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 1
Post image

#PyconUS attendees. Have time? We REALLY need more volunteers tomorrow, Sat πŸ₯Ί. Green room volunteers, session runners, swag distribution, registration,information desk. Login to us.pycon.org/ on your dashboard, click on volunteer>volunteering. Pick the time you're free!

16.05.2025 19:25 β€” πŸ‘ 5    πŸ” 9    πŸ’¬ 0    πŸ“Œ 0

I like to think that when Charli xcx sang β€œUnlock It (Lock It)”, she was referencing thread safety with mutexes.

16.05.2025 16:57 β€” πŸ‘ 18    πŸ” 2    πŸ’¬ 3    πŸ“Œ 0
Post image

Our social run group this morning at #PyConUS Ed, Hynek, David Hewitt and David Lord.
Running again 7:30 Saturday anyone welcome!

15.05.2025 15:36 β€” πŸ‘ 29    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

πŸŽ‚ Rust turns 10 today! πŸŽ‚

To mark the anniversary of Rust 1.0, we’re excited to share a reflection by Graydon Hoare, the initial author of Rust.

It’s a story of infrastructure, community, and extraordinary collaboration.

Read Graydon's guest blog here: rustfoundation.org/media/10-yea...

15.05.2025 15:25 β€” πŸ‘ 31    πŸ” 10    πŸ’¬ 0    πŸ“Œ 3
Post image

Photo with my old core dev friends.

@vstinner.bsky.social and Erlend.

#PyConUS

14.05.2025 17:35 β€” πŸ‘ 11    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Post image

#Education summit at #PyConUS we are here because we want to help more people to learn #Python - thank you so much for our super star organisers Kelly and Sean

15.05.2025 13:10 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

I’m at PyCon US today! 😁

15.05.2025 11:59 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Please come join us today at #PyConUS - I develop and monitor Pydantic Logfire using Pydantic Logfire, and I believe others can get so much value from our platform too!

15.05.2025 12:37 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
The attendees of the Python language summit

The attendees of the Python language summit

The attendees of the Python language summit, alternative angle

The attendees of the Python language summit, alternative angle

I had a great time yesterday at the #PyConUS language summit, so many interesting discussions and good work being done by so many people. Thanks to the attendees for engaging so well with my talk about Rust use within the Python ecosystem!

15.05.2025 09:24 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

Happy 10th Birthday #rustlang πŸŽ‚

To celebrate, there's a special 10% discount for @eurorust.eu tickets – only today though!

15.05.2025 08:05 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
A large group of Python core developers and contributors at Python Language Summit 2025, outdoor at David L. Lawrence convention center

A large group of Python core developers and contributors at Python Language Summit 2025, outdoor at David L. Lawrence convention center

A large group of Python core developers and contributors at Python Language Summit 2025, outdoor at David L. Lawrence convention center

A large group of Python core developers and contributors at Python Language Summit 2025, outdoor at David L. Lawrence convention center

Hello from Python Language Summit at PyCon US.
#PyConUS #Python

14.05.2025 19:43 β€” πŸ‘ 31    πŸ” 5    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

Just attended my first Python Language Summit! 🐍
A day full of fascinating discussions, ideas, and brilliant people.
Grateful to be part of this amazing community.πŸ’™

#PyConUS

15.05.2025 00:45 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

There were layoffs at MS yesterday and 3 #Python core devs from the Faster CPython team were caught in them. If you know of any jobs, please send them their way:

Eric Snow: www.linkedin.com/in/ericsnowc...
Irit Katriel: www.linkedin.com/in/irit-katr...
Mark Shannon: www.linkedin.com/in/mark-shan...

14.05.2025 21:13 β€” πŸ‘ 72    πŸ” 46    πŸ’¬ 5    πŸ“Œ 2

There's still a long way to go on this project, but I'm hugely excited about where we're going with this. Let's make Python typing even more awesome than it already is!

13.05.2025 17:01 β€” πŸ‘ 15    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0

Check out pyo3 if you haven't, it's rad

13.05.2025 21:33 β€” πŸ‘ 2    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

@davidhewitt.dev is following 20 prominent accounts