4 ms·
> "It's about time Python rids itself of that needless limitation." I want to correct one thing that I see plastered all over this thread. The GIL isn't a pro
by csmpltn 3y ago
> "It's about time Python rids itself of that needless limitation."
I want to correct one thing that I see plastered all over this thread.
The GIL isn't a programming language construct. It's an implementation detail. The GIL isn't a "Python limitation" in any way, because it has nothing to do with Python.
CPython (aka. Cython), probably the most popular and widely used VM for Python, was built around a GIL.
There are other VMs out there that don't have a GIL (ie. Jython, IronPython) and can be used out of the box.
- usrbinbash 3y ago> It's an implementation detail. It's an implementation detail of CPython. Which is by far the most common Python interpreter. And it limits parallelisation via threads in Python, a language that otherwise natively supports threading. So yes, it IS a needless limitation.