python
GIL in Python: What is it and Why Does it Matter?
The Global Interpreter Lock (GIL) is a lock that makes sure only one thread runs Python code at a time. It helps prevent problems when Python works with memory, but it also means Python can't fully use multiple cores of a CPU at once. What is the GIL?