CPython 中的全局解释器锁 (GIL) 是什么? - What is the global interpreter lock (GIL) in CPython?

问题:

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?
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章