问题:
What is a global interpreter lock and why is it an issue?什么是全局解释器锁,为什么会出现问题?
A lot of noise has been made around removing the GIL from Python, and I'd like to understand why that is so important.关于从 Python 中删除 GIL 已经产生了很多噪音,我想了解为什么这如此重要。 I have never written a compiler nor an interpreter myself, so don't be frugal with details, I'll probably need them to understand.我自己从来没有写过编译器或解释器,所以不要吝啬细节,我可能需要他们来理解。
解决方案:
参考一: https://stackoom.com/question/5Qj8参考二: What is the global interpreter lock (GIL) in CPython?