Grokking Concurrency in Python
Vote

0% completed

​

What Removing the GIL Changed

Eight threads indexed eight of Harvest's pages on the standard build of Python 3.15.2 and kept 1.0 CPUs busy. The same file, started with python3.15t, kept 5.7 CPUs busy and finished more than four times sooner. Started a third time with PYTHON_GIL=1 set, the free-threaded build dropped back to 1.0 CPUs.

Only the interpreter build and one setting changed, and with them the answer to one question: may two threads run Python code at the same instant?

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content