Python is NOT Single Threaded (and how to bypass the GIL)
I've encountered this misconception about Python a lot: Python is single threading and to use more then one core on your CPU you must use the multiprocessing module. In this video I show that this is utterly false and that you can be very CPU efficient with Python when calling out to something like a c-extension (numba in this case). I feel this is an important nuance to understand, hence this video.
MY OTHER VIDOES:
○ A.I. Learns to play Snake https://www.youtube.com/watch?v=i0Pkgtbh1xw
○ 5 Common Python Mistakes: https://www.youtube.com/watch?v=fMRzuwlqfzs
○ 5 Amazing Python Libraries: https://www.youtube.com/watch?v=eILeIEE3C8c
○ Making Python fast: https://www.youtube.com/watch?v=XW32lPcWOxg
○ Learning programming language Julia: https://www.youtube.com/watch?v=TNoShNPoEak
Twitter: https://twitter.com/safijari
Patreon: https://www.patreon.com/jackofsome
#python #threading #multiprocessing
Видео Python is NOT Single Threaded (and how to bypass the GIL) канала Jack of Some
MY OTHER VIDOES:
○ A.I. Learns to play Snake https://www.youtube.com/watch?v=i0Pkgtbh1xw
○ 5 Common Python Mistakes: https://www.youtube.com/watch?v=fMRzuwlqfzs
○ 5 Amazing Python Libraries: https://www.youtube.com/watch?v=eILeIEE3C8c
○ Making Python fast: https://www.youtube.com/watch?v=XW32lPcWOxg
○ Learning programming language Julia: https://www.youtube.com/watch?v=TNoShNPoEak
Twitter: https://twitter.com/safijari
Patreon: https://www.patreon.com/jackofsome
#python #threading #multiprocessing
Видео Python is NOT Single Threaded (and how to bypass the GIL) канала Jack of Some
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Make Python code 1000x Faster with Numba5 Things You're Doing Wrong When Programming in PythonPyCon 2015 - Python's Infamous GIL by Larry HastingsCan VSCode be a reasonable Spacemacs alternative? (VSpaceCode)Understanding the Python GILWhy Isn't Functional Programming the Norm? – Richard FeldmanVisual Maze Solving with Deep Reinforcement Learning in Keras | Detailed ExplanationWhen Python Practices Go Wrong - Brandon Rhodes - code::dive 2019Making multiple HTTP requests using Python (synchronous, multiprocessing, multithreading, asyncio)VSCode's Python Interactive mode is AMAZING!Python Threading Tutorial: Run Code Concurrently Using the Threading ModuleRaymond Hettinger, Keynote on Concurrency, PyBay 2017Python Decorators in 15 MinutesFive Amazing Python Libraries you should be using!The Fastest Way to Loop in Python - An Unfortunate TruthEric Snow - to GIL or not to GIL: the Future of Multi-Core (C)Python - PyCon 2019Python Development in SpacemacsHow to learn Julia, a new programming languageAsynchronous vs Multithreading and Multiprocessing Programming (The Main Difference)