top | item 40256123

(no title)

practicalrs | 1 year 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-...

discuss

order

cardanome|1 year ago

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.

gred|1 year ago

Interesting, thanks for the link. But by those metrics, Erlang is worse than PHP... Definitely just one data point of many.

langsoul-com|1 year ago

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?

dfgdfg34545456|1 year ago

PHP worse energy efficiency than Haskell? Maybe I'm not understanding something.

panzi|1 year ago

Haskell can be compiled to native code.

dfgdfg34545456|1 year ago

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.