Remix.run Logo
xedrac 4 hours ago

> I doubt it's caused by the use of dynamic programming languages.

Depends which ones. Python? Definitely a source of slowness.

mekoka an hour ago | parent | next [-]

Is this not a discussion about a web application? Order of magnitude matters. If Python is slower than Rust by 2 orders, but faster than IO by another 2 orders, are you not haggling just to shave off a few dimes on your 100 dollar bill?

consp 2 hours ago | parent | prev | next [-]

> 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.

array_key_first 2 hours ago | parent [-]

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.

admissionsguy 4 hours ago | parent | prev [-]

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.