4 ms·
>PHP isn't quick. As of PHP7... it actually is quicker than other languages in it's domain.
by NormlOverrated 10y ago
>PHP isn't quick.
As of PHP7... it actually is quicker than other languages in it's domain.
- idobai 10y agoEvidence? I'm pretty sure it's far slower then the average jvm app. It also doesn't have parallelism...
- astrodust 10y agoCompared to Ruby, sure, but pretty much everything is at this point. Compared to Node JavaScript? Not even close. They've made some impressive gains in PHP7 that others should take note of. Ruby's particularly out of shape here compared to the competition, though Python isn't exactly a speed demon either.
- exclusiv 10y agoYes it is comparable to Node. Most benchmarks show PHP with blocking calls against async Node calls. PHP has the tools to do async no problem. I use ReactPHP all the time to do this stuff; it works great for fast scraping. See an older counter-point with the much slower PHP 5.5: https://philsturgeon.uk/php/2013/11/12/benchmarking-codswallop-nodejs-v-php/ https://philsturgeon.uk/php/2013/11/12/benchmarking-codswall...