Re:Free-threaded CPython is ready to experiment with
by BugsJustFindMe on Friday July 12, 2024 @06:29PM
(#40950050)
I am a big advocate for ThreadPoolExecutor. I'm saying it's superior to asyncio. The person I'm responding to was asking why use threads when you can use asyncio instead.
[ Parent
| on HN ]
Re:Free-threaded CPython is ready to experiment with
by kristjansson on Friday July 12, 2024 @07:27PM
(#40950406)
Ach, I posted before I saw the rest of your thread, apologies.
Totally agree, concurrent.futures strikes a great balance. Enough to get work done, a bit more constrained than threads on their own.
Asyncio is a lot of cud to chew if you just want a background task in an otherwise sync application