Understanding Python: Threading
HTML-код
- Опубликовано: 30 май 2023
- In this video, I go over threading.
Included in the lesson is an introductory tutorial covering the basics, background, and some best practices of threading.
As always, if you have any questions or suggestions for future videos, please leave a comment down below.
Follow me on Twitter: / jakejcallahan
Source: github.com/JacobCallahan/Unde...
Timelapse music: 失望した by Eva
Link: • EVA - 失望した [Synthwave]...
Outro music: Elix by Synthness
Link: • Synthness - Elix ★ No ... Наука
Let me know if you want me to do a deeper dive into threading in the future. Also, remember that the source code for this video, and all others in this series, can be found here: github.com/JacobCallahan/Understanding/
very useful and nice content explained very simply.
Hi, dude. You got my subscription, thanks for sharing thoughtfully!
SUPER INFORMATIVE! Thanks for the detailed dive!
Definitely do another video on this subject! It goes deep and you are great at explaining it!
I always wanted someone to do a deep dive into the nuanced topics of Python such as how actually threads work and the GIL. Have looked around for good implementations for so long. Finally seem to have found it. Amazing work!
Thank you very much. I've considered doing a series of even deeper dives (into the implementation themselves), but too many other things to get to first.
Very good video
Thank you very much
You are the best explainer among all the RUclipsrs I've seen. 👍🏻👍🏻👍🏻
But I often have a question.
Assuming I am preparing to write a Third party API hub, which contains 10 independent external party APIs with no dependencies but finally we need to transform and append all their response in json.In this situation, would you choose to use asynchronous programming or multi-threading?
If you're not heavily depending on synchronous libraries and are comfortable with asynchronous programming, then I'd recommend async over threading.
For example, if you can use something like aiohttp to interact with those APIs, it's hard to beat async.
The downside is that it does make your design a bit more complicated, but it's a good trade-off.
When do you make the Video about Multi-Processing?
I'm planning to release it near the end of the month. I'm currently on a monthly schedule, but may sprinkle in a surprise soon as well.