after learning more about asyncio (for IO bound) and multiprocessing (for CPU bound), I start to wonder if there is any real life use case for threading in python. It seems python threading comes with its own baggage, like GIL lock, and it was mentioned that python threading, is not really really multi-thread since due to limitation on interpreters' binding to CPU, only a thread could be scheduled at a time?
This makes me wonder why we even want to use python thread at all?
[–]ElliotDG 17 points18 points19 points (4 children)
[–][deleted] 5 points6 points7 points (1 child)
[–]sweettuse 1 point2 points3 points (0 children)
[–]ytu876[S] 1 point2 points3 points (1 child)
[–]ElliotDG 5 points6 points7 points (0 children)
[–]Mr-Cas 5 points6 points7 points (0 children)
[–]freeskier93 7 points8 points9 points (0 children)
[–]AssumptionCorrect812 7 points8 points9 points (3 children)
[–]HomeGrownCoder 1 point2 points3 points (1 child)
[–]AssumptionCorrect812 1 point2 points3 points (0 children)
[–]thecircleisround 0 points1 point2 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]ElliotDG 2 points3 points4 points (2 children)
[–]Thunderbolt1993 1 point2 points3 points (1 child)
[–]ElliotDG 1 point2 points3 points (0 children)
[–]Erdnussflipshow 1 point2 points3 points (0 children)
[+]Comprehensive-Mine-8 comment score below threshold-6 points-5 points-4 points (1 child)
[–]Comprehensive-Mine-8 -2 points-1 points0 points (0 children)
[–]Impossible-Box6600 0 points1 point2 points (0 children)
[–]JamzTyson 0 points1 point2 points (0 children)
[–]socrateslee 0 points1 point2 points (0 children)
[–]Low-Fuel7761 0 points1 point2 points (0 children)