プログラミング言語「Python」は、簡潔な文法や豊富なライブラリで人気を博している。同時に、複数のCPUコアを効率的に利用することが制限されている問題も抱えている。これはCPython(Pythonの標準実装)が持つ「GIL」(Global Interpreter Lock)に起因する問題だ。
Python 3.13 has been released with a slight delay on the home straight. The new interactive shell aims to make development more convenient. In addition, the global interpreter lock can now be ...
スクリプト言語「Python」の新しい年次リリース「Python 3.13」が、10月7日に正式リリースされた。多くの新機能と最適化が含まれている。 「Python 3.13」では、「PyPy」ベースの新しい改良型インタラクティブインタプリターを搭載。複数行(ブロック)編集への ...
プログラミング言語「Python」において、データの整合性を保つ仕組み「GIL」(Global Interpreter Lock)が廃止されようとしている。GILを廃止することで、複数のCPUコアにまたがる処理が実行可能になる見込みだ。だがこの変更は技術的な課題だけでなく、Python ...
Python 3.13 introduced the first public, if experimental, “free-threaded” or “no-GIL” builds of the language, which we’ll call “3.13t.” 3.13t allows CPU-bound Python threads to run with true ...