Python

Python 3.14's free-threaded build

A look at Python 3.14's free-threaded build through the CPython 3.14 docs and source: installing and identifying it, what happens when it imports a C extension, and what it costs in speed and memory.

2026-09-10 · 5 min read · 951 words · KbWen · EN
Python

Python 3.14 的 free-threading build

Python 3.14 起 free-threading build 正式支援,GIL 可以在執行期關掉。這篇說明 GIL 原本負責什麼、怎麼判斷使用的 python 有沒有真的關掉 GIL,以及關掉之後單執行緒與 C 擴充套件相容性的影響。

2026-09-10 · 4 min read · 1546 words · KbWen · ZH