r/Python • • Feb 25 '26

Showcase [ Removed by moderator ]

[removed] — view removed post

119 Upvotes

55 comments sorted by

View all comments

16

u/NoLime5219 Feb 25 '26

This is exactly the kind of interface Python 3.14t needed. The fact that you're getting 5.6x on 10 cores for simple sum workloads is really strong — that's approaching linear scaling. One thing I'd be curious about: how does it handle workloads where individual iterations have highly variable costs? Like if you're processing a mix of small and large JSON blobs, does the divide-and-conquer work stealing keep cores balanced, or do you end up with stragglers? Also, have you compared memory overhead against multiprocessing for realistic dataset sizes? The shared memory advantage is clear on paper, but I'm wondering about real-world impact when you're not just summing integers. Either way, this feels like the right API design — Rayon proved chainable parallel iterators work brilliantly in Rust, and bringing that to Python without GIL overhead is huge.

27

u/bexben Feb 25 '26

chatgpt

4

u/placidified import this Feb 26 '26

Also /u/NoLime5219

Redditor for 1 day