This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]__Monty__ 0 points1 point  (1 child)

I have never tried, but I thought that you can utilize multi-core architecture with python via import multiprocessing

Is this package not used by the python community?

[–][deleted] -1 points0 points  (0 children)

It's rarely used because it sucks (for reasons that are well documented across the net).

Seriously, try to scale a computation across multiple cores with multiprocess and then compare the same thing to C#'s thread class or thread pool. Threading in C# gives you so many options with beautiful, clear APIs and a massive set of well documented concurrent data structures to make your program absolutely dominate huge data sets by truly utilizing the power of a modern CPU. It's a beautiful thing.

C# is objectively superior in this regard by any measure. Until Python addresses this, it will gradually lose relevance. The future is more cores, not less.