Python Plans to Drop the Global Interpreter Lock

The Python Steering Council intends to adopt a proposal to drop the Global Interpreter Lock (GIL) that “restricts a Python user program to using only a single thread,” reports Joab Jackson. “This restriction has become a serious performance impediment for running Python code across multicore CPUs.”

Implementation of this change, outlined in PEP-703, will be carried out over a period of years, Jackson explains. “First, there will be an experimental build without the lock. Over time, support will be added for the GIL-less Python. In the final stage, the GIL-less Python will be default, with any vestiges of the GIL stripped away.”

Read more at The New Stack.

Subscribe now to FOSSlife Weekly and get news and features delivered to your inbox.

Orange text on black background saying: Open source is more than tech. Find jobs in sales, marketing, and more at Open Source JobHub.

Comments