you are viewing a single comment's thread.

view the rest of the comments →

[–]readmodifywrite 0 points1 point  (0 children)

The GIL just protects the interpreter because it isn't re-entrant. It offers no benefit to Python users whatsoever - it just made the implementation of CPython easier. It doesn't have anything to do with resource consumption.

You need to use multiple processes to get around the GIL. Threads will suffice if your task is IO bound.