Рет қаралды 8,570
"Speaker: A. Jesse Jiryu Davis
I wrote Python for years while holding mistaken notions about the Global Interpreter Lock, and I've met others in the same boat. The GIL's effect is simply this: only one thread can execute Python code at a time, while N other threads sleep or await network I/O. Let's read CPython interpreter source and try some examples to grok the GIL, and learn to write fast and thread-safe Python.
Slides can be found at: speakerdeck.co... and github.com/PyC..."