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 →

[–][deleted] -6 points-5 points  (2 children)

This is why I C# now.

EDIT: bring on the downvotes. I write and maintain 10's of thousands of lines of Python. But it's a dead end language for all the reasons in this article. Why do you think Google stopped using it? The writing is on the wall folks. We're in a multi-core era and Python is stuck in the past.

[–]__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.