Hacker News new | ask | show | jobs
by practicalrs 775 days ago
" Performance

PHP has experienced a 400% performance increase between 5.6 and 7, and another 20% between 7 and 8. It's fast enough for most use cases, and if you need a specialized use case, use a specialized language."

If you like to pay for servers... https://aws.amazon.com/blogs/opensource/sustainability-with-...

5 comments

Or you pay 5 Dollars a month for some good old shared hosting, upload you php files and be done with it. Save big money not even having to worry about all the DevOps stuff.

PHP is amazing for small and medium sized companies that just need to get stuff done.

Interesting, thanks for the link. But by those metrics, Erlang is worse than PHP... Definitely just one data point of many.
The last part of the article, it's good for most use cases. Unless your Google, it doesn't matter. Most of us aren't hitting billions of requests.

What good is it to send ungodly time and effort when you'll most likely never ever need it?

PHP worse energy efficiency than Haskell? Maybe I'm not understanding something.
Haskell can be compiled to native code.
Java is better than Javascript, I'm mystified. I have used Java and Javascript lambdas, the Java ones use 4 times the memory of the JS lambdas and are slower, to do the same thing.