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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of python

python

Photo of GIL

GIL

Related news:

News photo

Writing a tile server in Python

News photo

Show HN: Visual A* pathfinding and maze generation in Python

News photo

WhatsApp for Windows lets Python, PHP scripts execute with no warning