OT: why do people use python when it is slow?

Chris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 15 02:24:51 PDT 2015


On Wednesday, 14 October 2015 at 18:37:40 UTC, Mengu wrote:
> On Wednesday, 14 October 2015 at 05:42:12 UTC, Ola Fosheim 
> Grøstad wrote:
>> On Tuesday, 13 October 2015 at 23:26:14 UTC, Laeeth Isharc 
>> wrote:
>>> https://www.quora.com/Why-is-Python-so-popular-despite-being-so-slow
>>> Andrei suggested posting more widely.
>>
>> That's flaimbait:
>>
>> «Many really popular websites use Python. But why is that? 
>> Doesn't it affect the performance of the website?»
>>
>> No. Really popular websites use pre-generated content / front 
>> end caches / CDNs or wait for network traffic from distributed 
>> databases.
>
> really popular portals, news sites? yes. really popular 
> websites? nope. like booking.com, airbnb.com, reddit.com are 
> popular websites that have many parts which have to be dynamic 
> and responsive as hell and they cannot use caching, 
> pre-generated content, etc.
>
> using python affect the performance of your website. if you 
> were to use ruby or php your web app would be slower than it's 
> python version. and python version would be slower than go or d 
> version.

Yep. This occurred to me too. Sorry Ola, but I think you don't 
know how sausages are made. Do you really think that all the 
websites out there are performance tuned by network programming 
specialists? You'd be surprised!


More information about the Digitalmars-d-learn mailing list