Jan 17 · 5 min read · This article was not written by AI. It is human written, and I would appreciate any feedbacks on it. We must have heard how python isn’t truly parallel. Why does it happen? What actually is the Global Interpreter Lock and how it is a culprit behind t...
Join discussion
May 19, 2025 · 6 min read · 들어가기에 앞서 블로그를 구독해주고 계신 분들 감사드립니다 :) 들어가며 오늘은 Python 의 GIL(Global Interpreter Lock) 에 대해서 알아보고 왜 GIL 로 인해 CPU-Bound 작업에서 영향을 받을 수 있는지를 알아보고, 이걸 직접 코드로 작성하여 시각적으로 분석해보는 시간까지 가져보도록 하겠습니다. 아마도 장문의 글이 예상되니 꼼꼼히 읽으면서 따라오시길 바랍니다 Python 이 실행되는 방식 우리가 보통 별다른 구...
Join discussionJan 30, 2025 · 1 min read · GIL GIL ensure that only one thread executes Python bytecode at a time, which means it prevents multiple threads from executing Python code concurrently. GIL works like this: There are three threads, but they are not running concurrently. One need...
Join discussion
Sep 21, 2024 · 9 min read · When I first encountered the Python language, I was amazed by what you could do with so little code, and it has been one of my favourite programming languages since. Some time ago, I faced a problem where I was trying to create something like a web s...
Join discussion
Aug 18, 2024 · 10 min read · Introduction Python is finally getting rid of its major limitation, the Global Interpreter Lock (GIL), which it has had since 1991. Before explaining what the GIL is, let's understand how computers and programming languages were designed in the 1990s...
Join discussion
Jul 14, 2022 · 4 min read · Concurrency is a crucial concept in modern programming, allowing applications to perform multiple tasks simultaneously and utilize system resources efficiently. Python provides several mechanisms for achieving concurrency, including threads and proce...
Join discussion