The Python Global Interpreter Lock or GIL, in simple words, is a mutex that allows only one thread to hold the control of the Python interpreter. This means that only one thread can be in a state of execution at any point in time. Due to which Python is not able to leverage the parallelism with multiple threads. In fact, it gives poorer performance when we use multiple threads with single core and even poorer performance with multiple cores.Shashwat Naulakha
BeautifulCode team and culture promotes learning, continuous self-improvement and open contributions via talks, blog posts and meetups.