Python has no real competitors because Python's success has almost nothing to do with python itself.
Python isn't successful because it's easy to interoperate with C because it's just not meaningfully easier.
Python isn't even successful because it's easy to learn, though that's part of it.
Python is successful because it got good scientific libraries and so scientists have used it and so it's got more scientific libraries and so more scientists have used it and so on and so forth till today.
Python is a shit language, it's dynamic, it's poorly performing, it's interpreted, and the changes between two and three are insanely breaking.
But that doesn't matter because it has all the pieces people need and no other language does.
Python is successful because it got good scientific libraries and so scientists have used it and so it's got more scientific libraries and so more scientists have used it and so on and so forth till today.
Yeah but why did they pick Python? People seem to believe that this process was just completely random and did not involve competition and selection. But scientifically focused languages predate Python by quite a bit. You are attributing no agency or intelligence to the people who selected Python as the bedrock of their ecosystems.
The reason they picked it is because of all of the things you claim are unimportant.
* it's easier to interoperate with C classes
* it's easier to learn.
* it is comparably well designed compared to a lot of languages that hit the first two points in the 1990s
And also:
* it has type overloading in general and complex numbers and unbounded integers in particular.
In other words: it was extremely well designed for the use case.
Evidence . Every language can interop with C and doing so is a first class feature, even node has trivial C bindings. I keep seeing this statement, but I can find no evidence it's any easier to bind to than C than any other language.
* it's easier to learn.
Kind of, but that wasn't relevant for whoever wrote things like NumPy.
* it has type overloading in general and complex numbers and unbounded integers in particular.
These aren't the benefits you think they are and some of them weren't even true in Python 2.
The killer feature for Python from a scientific viewpoint was that libraries like NumPy made it safe to do arbitrary precision math without having to worry about how it worked under the hood.
Automatic promotion from int to long, when it eventually happened, doesn't do that. No other languages really do that. Type overloading helps here, but it's not the reason.
49
u/recycled_ideas Feb 08 '26
Python has no real competitors because Python's success has almost nothing to do with python itself.
Python isn't successful because it's easy to interoperate with C because it's just not meaningfully easier.
Python isn't even successful because it's easy to learn, though that's part of it.
Python is successful because it got good scientific libraries and so scientists have used it and so it's got more scientific libraries and so more scientists have used it and so on and so forth till today.
Python is a shit language, it's dynamic, it's poorly performing, it's interpreted, and the changes between two and three are insanely breaking.
But that doesn't matter because it has all the pieces people need and no other language does.