Pergunta de entrevista da empresa AlphaGrep Securities

They asked me about the Global Interpreter Lock (GIL) in Python.

Resposta da entrevista

Sigiloso

7 de nov. de 2025

I explained that the GIL is a mutex in CPython that allows only one thread to execute Python bytecode at a time. It simplifies memory management but limits true parallelism in CPU-bound tasks.