Threads Aren't Real? Python's GIL

Опубликовано: 28 Июнь 2026
на канале: Python Clinic
3,280
171

In this video, we will debunk the illusion of how fast threads work in Python. GIL makes all objects thread-safe, but we pay for it with performance, and in fact, threads very rarely work truly in parallel. We will figure out in which situations they can be used to advantage.

Tg channel, where I share my thoughts on videos and more - https://t.me/PythonClinicChnl

Timecodes:
00:00 - intro
00:36 - what is GIL
03:22 - CPU-bound
07:03 - IO-bound
10:02 - conclusions
12:48 - outro