Skip to content

Commit 2b11fd2

Browse files
committed
pythongh-11599: Update whats news for free-threaded 3.14
1 parent 55815a6 commit 2b11fd2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Summary -- release highlights
6868
* :ref:`PEP 741: Python Configuration C API <whatsnew314-pep741>`
6969
* :ref:`PEP 761: Discontinuation of PGP signatures <whatsnew314-pep761>`
7070
* :ref:`A new type of interpreter <whatsnew314-tail-call>`
71+
* :ref:`Free-threaded CPython <whatsnew314-free-threaded-cpython>`
7172

7273

7374
Incompatible changes
@@ -311,6 +312,24 @@ For further information on how to build Python, see
311312
(Contributed by Ken Jin in :gh:`128563`, with ideas on how to implement this
312313
in CPython by Mark Shannon, Garrett Gu, Haoran Xu, and Josh Haberman.)
313314

315+
.. _whatsnew314-free-threaded-cpython:
316+
317+
Free-threaded CPython
318+
---------------------
319+
320+
Free-threaded CPython now supports :pep:`659` which is known
321+
as the specializing adaptive interpreter, the execution mechanisms is almost same
322+
as the default build, but at free-threaded CPython build, each thread maintains
323+
a thread-local copy of specialized bytecode.
324+
325+
With this change, the free-threaded CPython build achieve better performance
326+
and 10-15% slower than the default build.
327+
328+
This work was done by many contributors, Matt Page, Neil Schemenauer,
329+
Sam Gross, Thomas Wouters, Donghee Na and Kirill Podoprigora
330+
Meta also provided significant engineering resources for performance benchmark and
331+
design per thread specialized bytecode mechanisms.
332+
314333

315334
Other language changes
316335
======================

0 commit comments

Comments
 (0)