upvote
> Definitely a source of slowness.

I would first blame the programmers, the design and lack of specialty offloading before blaming any programming language. Well designed web calls scale nearly linearly with usage and usually poor design or programming is the source of slowness. You can always trade language complexity for speed but assuming it is the cause of all perceived slowness is a poor man's view.

It is the same story every time again, first it was java, which has so many large scale projects most people won't even know it's running things they use, now it's apparently python who is to blame for all slowness on the web. When the next JIT or scripted language comes along which is not someone's favourite pet that will get the blame.

reply
Python is slow, though, and so was java compared to other compiled languages of its time. Sure, it might not matter much if you're mostly doing database calls. If you're not, though, then yes, it's the languages fault if your app is slow. You can try to make it faster, but it's gonna be marginal gains. Or, you could just switch to another language and get a 100x speedup for free.

I also denounce the notion that trading language complexity for slowness is the case. Python is already complex, and there's some language and frameworks that are actually quite a bit easier to use for web backends. Like java, or dotnet. It just makes no sense to use python for this usecase, even if you ignore the slowness.

But that's not completely true, there is one very good reason to use python. Your devs know it. But, that doesnt say anything about the language itself.

reply
Hard imagining well designed web app bottlenecked by server-side processing that is not offloaded to database, or done via bindings to libraries written in compiled languages.
reply