Re:Show HN: Pyper – Concurrent Python Made Simple
by t43562 on Wednesday January 15, 2025 @03:09AM
(#42708547)
...although python 3.13 can be built without the GIL and it really does make threading useful. I did some comparisons with and without.
I suppose one excellent thing about this would be if you could just change 1 parameter and switch from multiprocessing to threaded.
Re:Show HN: Pyper – Concurrent Python Made Simple
by rtpg on Wednesday January 15, 2025 @05:13AM
(#42709289)
I think you could build off of threading. I do think here it's good to acknowledge that Python async is fundamentally single-threaded (or rather, "single thread per event loop"), so if you do go a multi-thread version you might have to do some bookkeeping to make it all work well.
I'm not sure how well async Python libs are tested against working in a world with multiple event loops, but I bet there are a _lot_ of latent bugs in that space.
I don't really need pipelining that much, but pipelining along with a certain level of durability and easy multiprocessing support? Now we're talking