/
Global Interpreter Lock - GIL
Global Interpreter Lock - GIL
This is Python’s solution do dealing with the fact that the C libraries they embed into their language are not thread safe. You cannot use two python interpreters in the same multi-threaded application at one time.
It’s a horrible horrible hack.
And Python continues this fine legacy.
Not super impressed with Guido the architect of Python. His answer for this is use fork and lots of processes but that doesn’t work with windows.
Another good reason to get rid of it.
For more reading What Is the Python Global Interpreter Lock (GIL)? – Real Python
, multiple selections available,
Related content
How did the global interpreter lock help python build a user community?
How did the global interpreter lock help python build a user community?
More like this
How does one make stable git scripts?
How does one make stable git scripts?
Read with this
Python has a 'batteries included' design philosophy
Python has a 'batteries included' design philosophy
More like this
Fixing visibility gaps
Fixing visibility gaps
Read with this
Lua State - Better Than GIL
Lua State - Better Than GIL
More like this
Integration Concepts
Integration Concepts
Read with this