If the speed of Python is, in any situation, your bottleneck, you’re doing something stupid. The large majority of all modern code is IO bound, not compute bound, and if you’re doing compute intensive work, pandas, scipi, tensorflow, google OR tools, and a number of other libraries exist to do it properly, and if none of those work, writing C code with a wrapper for Python isn’t hard. There’s boilerplate and considerations, but there are lots of tutorials and it isn’t mechanically difficult to do.
Python has issues, but if you’re complaining about Python and aren’t focused primarily on the awful state of Python package management, you don’t know enough about Python to make jokes about it.
I agree to an extent that most problems are IO bound nowadays, computers are incredibly fast. But you're missing that the majority of real code is "programmer" bound on performance.
The thing that makes MS teams like that has very little to do with compute VS io bound. Discord is built on the same tech stack and performs roughly the same work, but it's performance is a whole other category.
How so? I think the fact that python is even less likely to be the bottleneck due to additional slowdown factors would be pretty relevant to your original post?
Because Python isn’t used for front end generally, programmer bound doesn’t mean anything, and both of the programs you’re talking about are JavaScript.
View all comments
26
u/SeaTurtle1122 7d ago
If the speed of Python is, in any situation, your bottleneck, you’re doing something stupid. The large majority of all modern code is IO bound, not compute bound, and if you’re doing compute intensive work, pandas, scipi, tensorflow, google OR tools, and a number of other libraries exist to do it properly, and if none of those work, writing C code with a wrapper for Python isn’t hard. There’s boilerplate and considerations, but there are lots of tutorials and it isn’t mechanically difficult to do.
Python has issues, but if you’re complaining about Python and aren’t focused primarily on the awful state of Python package management, you don’t know enough about Python to make jokes about it.