Get the latest tech news

State of Python 3.13 performance: Free-threading


Python 3.13 is out and it's time to run some benchmarks to see how well it performs with the new free-threaded mode.

The traditional solution has been to use the multiprocessing module, which spawns separate Python processes instead of threads and while this approach works, it comes with significant limitations: At that point, migrating to the free-threaded build should be a no-brainer for a lot of parallel applications and it will be interesting to measure the performance changes. From this measurement, we can see that the new free-threaded build of CPython 3.13 can have a significant impact on the performance of parallel applications, bringing a very relevant alternative to multiprocessing.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of State

State

Photo of Performance

Performance

Photo of python

python

Related news:

News photo

Python dethrones JavaScript as the most-used language on GitHub

News photo

Tinylangs: Programming languages in 50 lines of Python

News photo

Linux Preps New AMD ERAPS Feature With EPYC Turin To Benefit Performance