Top Project Targeting Python GIL Removal
Sam Gross's 'nogil' CPython fork (PEP 703) is the most significant effort, with the Python Steering Council approving an experimental build mode for Python 3.13, utilizing techniques like Biased Reference Counting.
The top 3
- Sam Gross: Architect of Python's Optional GIL: Sam Gross reignited the discussion about removing the GIL in 2021 with his "nogil" branch, which laid the groundwork for PEP 703, proposing an optional GIL for CPython.
- Biased Reference Counting: GIL-Free Performance Key: PEP 703 employs biased reference counting, a critical technique that optimizes memory management for objects primarily accessed by a single thread, thereby preventing performance degradation in non-multithreaded Python code.
- Python 3.13's GIL-Free Build: A New Era: Python 3.13 introduces an experimental build option, `--disable-gil`, allowing developers to compile CPython without the GIL and enable true parallel multithreading for CPU-bound tasks, with plans for further integration in Python 3.14.
Sources
Open the full topic