3 ms·
Interested in seeing if you have tried 3.13 free threading. Your usage case might be worth a test there if moving from a process to threading model isn't too mu
by VagabundoP 2y ago
Interested in seeing if you have tried 3.13 free threading. Your usage case might be worth a test there if moving from a process to threading model isn't too much work.
Where does your implementation bottleneck?
Python concurrency does suffer from being relatively new and being bolted on to a decades old language. I'd expect the state of the art of python to be much cleaner once no-Gil is hammered on for a few release cycles.
As always I suggest Core.py podcast as it has a bunch of background details[1]. There are no-Gil updates throughout the series.
[1] https://podcasts.apple.com/us/podcast/core-py/id1712665877 https://podcasts.apple.com/us/podcast/core-py/id1712665877
- c-fe 2y agothe no-GIL threading indeed looks very promising, thanks for mentioning it. Unfortunately I think its just a bit too new today to use it in production - at least thats the feeling I get reading the docs.
- VagabundoP 2y agoOh definitely. It will need a cycle or two to mature.