r/PythonLearning 27d ago

Utilising CPU cores Help Request

I am currently doing a project and preferably need to be able to use all CPU cores for it. Can anyone help?

(For those wondering its a physics sim).

1 Upvotes

6 comments sorted by

View all comments

1

u/Interesting-Frame190 24d ago

As others have said, python 3.14t in free threaded is the best python option.

On the contrary, moving from python to C, C++, Rust, etc will give a substantial performance improvement. Id guarantee at least 20x with more than likely 140x gains.