The Global Interpreter Lock

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

A colleague added threads to a number-crunching Python function and it got no faster. Explain what the global interpreter lock is, why it exists, and how to work around it.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →