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