use the following search parameters to narrow your results:
e.g. subreddit:pics site:imgur.com dog
subreddit:pics site:imgur.com dog
advanced search: by author, sub...
~4 users here now
Links:
Python programmers, help with multithreading?
submitted 1 year ago by fschmidt from communities.win
view the rest of the comments →
[–]SoCo 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 1 fun3 insightful - 2 fun - 1 year ago (2 children)
Maybe I'm too used to the older python multitasking patterns, but I cringe when I see "await" used. They scream poor design to me, in most uses.
[–]fschmidt[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 year ago (1 child)
What do you use instead of "await"?
[–]SoCo 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 year ago (0 children)
Most of my bigger Python projects started before these features were added, so I'd just make my own event loop using 'multiprocessing' or 'threading' modules and design my own asynchronous handling around that. Now that I've tasted platforms with signals and slots, along with how nice that works with asynchronous queuing and event loops, the await/promise patterns seems kind of a clunky way of doing things.
view the rest of the comments →
[–]SoCo 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 1 fun3 insightful - 2 fun - (2 children)
[–]fschmidt[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (1 child)
[–]SoCo 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (0 children)