Get the latest tech news
GIL Become Optional in Python 3.13
GIL or Global Interpreter Lock can be disabled in Python version 3.13. This is currently experimental.
At the time of installation, check the option “free threaded binaries(experimental)” to get the feature in Python. We have a simple Python program ( gil.py) that computes the factorial of numbers and compares the execution time taken by single-threaded, multi-thread, and multi-process tasks. This time we have a third beta version of Python 3.13 configured with free threading build and as we can see the GIL is disabled.
Or read this on Hacker News