All books

Professional

Apps About Coach Log in Start reading

Quantitative Finance · Glossary

What is Global interpreter lock?

Definition 8.7 Research, Data and Risk Platforms · Chapter 8 — Python at Scale

The global interpreter lock of the standard Python interpreter allows one thread at a time to execute Python bytecode; threads run Python code concurrently but not in parallel, while compiled code that releases the lock (much of numpy, input and output) runs in parallel with them.

Read in context →