Comment by that_guy_iain

Comment by that_guy_iain 7 days ago

3 replies

I'm going to have to also reply with, sorry but what?!

PHP is one of the fastest-interpreted languages. But compiled are going to be faster than interpreted pretty much everytime. It loses benchmarks against every language. That's not to mention it's slowed down by the fact it have to rebuild everything per request.

As a PHP developer for 15+ years, I can tell you what PHP is good at and what PHP is not good at. High throughput API endpoints such as log ingestion are not a good fit for PHP.

Your argument that if it breaks it's fine. Yea, who wants a log system that will only log some of your logs? No one. It's not mission critical but it's pretty important to keep working if you want to keep your system working. And in fact, some places it is a legal requirement.

hipadev23 7 days ago

How have you worked with PHP for 15 years and have absolutely no idea how it works or even baseline performance metrics.

  • Implicated 7 days ago

    He's not being truthful. Literally, there's no way that what he's saying is true. Either about various aspects of modern PHP or his experience with it.

withinboredom 7 days ago

> It loses benchmarks against every language.

Every language loses benchmarks against every other language. That's not surprising. Since you didn't provide a specific benchmark, it's hard to say why it lost.

> High throughput API endpoints such as log ingestion are not a good fit for PHP.

I disagree; but ultimately, it depends on how you're doing it. You can beat or exceed compiled languages in some cases. PHP allows some low-level stuff directly implemented in C and also the high-level stuff you're used to in interpreted languages.