Show HN: Runloom – Go-style coroutines for Python free-threaded
35 points by Uptrenda 6 hours ago | 15 comments
ebeirne 2 hours ago
This is a seriously impressive project. I see your pitch is M:N work-stealing across real cores on free-threaded 3.13t/3.14t which i think is only possible because nogil now exists. which makes gevent seem lackluster in comparison
replyhsnewman 4 hours ago
Why not just use Go?
replyfoxygen 4 hours ago
Because you are have an existing app in Python. Because you need some library that is not available in Go. Because you prefer Python. All are valid reasons.
replyvorticalbox 2 hours ago
then why not just use threads/processes in python?
replyfoxygen 2 hours ago
Because they are not the same as Go-style green threads/coroutines?
replyregular_trash 2 hours ago
Clearly lol. I think a good-faith interpretation of the question is: "What kinds of things is go's concurrency model suited for where the normal pythonic alternative is cumbersome/less desirable"
reply
Only one commit added all of that, just two hours ago.
The published numbers are impressive, but its hard to evaluate how much trust can be put in a project of this complexity at this early stage.
I don't know, I'm not finding it hard to evaluate that at all.
I've had bad enough experiences with gevent in the (now fairly distant) past, and that's a well-established project, just a subtle one with a large blast radius. This has all of those problems, plus is _much_ larger and I don't think can possibly have been tested as widely as I would want. I get maybe there's a lot of test code, but I think this kind of thing you only really know when the rubber meets the road.