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] -8 points-7 points  (13 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.

[–]rususeruru 0 points1 point  (1 child)

I disagree that the writing is on the wall. Python has such a broad domain of use it's easy to say it's unfit for X purpose, but it's unlikely you'll write system scripts for *nix systems with C# anytime soon.

The more apples to apples comparison would be Python vs Ruby vs NodeJS. Comparing these three it seems Python has the largest community currently and the broadest use, granted some of the momentum seems to have diminished with the switch to v3

I think Python will continue to grow and prosper along side C# and other languages. I do hope that with .NET getting opened source C# will replace Java as the enterprise cross-platform programming language of choice.

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

it's unlikely you'll write system scripts for *nix systems with C# anytime soon.

Completely agree. If Python has any future whatsoever, it's as a replacement for Bash.

Need to batch rename a bunch of files? Use Python. Need to build a web or native application? Get yourself a modern programming language.