News for hackers. Stuff that matters.
Re:Free-threaded CPython is ready to experiment with by Derbasti on Friday July 12, 2024 @11:42PM (#40951592)
A thought experiment:

A piece of code takes 6h to develop in C++, and 1h to run.

The same algorithm takes 3h to code in Python, but 6h to run.

If I could thread-spam that Python code on my 24 core machine, going Python would make sense. I've certainly been in such situations a few times.

Re:Free-threaded CPython is ready to experiment with by Certhas on Saturday July 13, 2024 @05:57AM (#40952974)
C++ and python are not the only options though.

Julia is one that is gaining a lot of use in academia, but any number of modern, garbage collected compiled high level languages could probably do.

Re:Free-threaded CPython is ready to experiment with by rbanffy on Saturday July 13, 2024 @06:02PM (#40957227)
Fair. Add a couple hours to learn enough Julia to write the code.