TLDR · PROGRAMMING, DESIGN & DATA SCIENCE

GIL BECOME OPTIONAL IN PYTHON 3.13

geekpython.in4 min read

Summary from the TLDR newsletter

Global Interpreter Lock (GIL) can be disabled in Python version 3.13. GIL is a mechanism used by the C Python interpreter to ensure that only one thread executes the Python bytecode at a time. Free-threaded mode, which disables GIL, is currently experimental. Disabling GIL makes a massive difference in the performance of multithreaded tasks.