Okay, you found my trigger, here is my rant: your assumption is incorrect: PHP is notvery, very,slow. Already in 2016 comparsions showed that PHP 7+ is going to be one of the fastest scripting languages. In 2018, PHP 7.2 is the current, and fast, version.
But this is not even the end: It is also incorrect to assume, PHP is always not compiled. PHP 7.+ uses optimized Operation-Code-Cache by default, which can be looked at as the compiled code. This cache got big improvements in PHP 7.2+, which makes it an even faster language, at least upon repeated execution (which is clearly given by most scenarios in which PHP is used).
PHP is not bad, they made it great again. PHP is not even slow (whatever that means) anymore. It is even fast, compared to other scripting languages. Also, consider the fact that not every slow language is bad. It is a feature, not a bug, for a scripting language to be a little slower (NodeJS, Python, R ... all slow!). It is simply not all about them microseconds.
Totally agree, PHP 7.2 is very fast and it works great. Also, php being a scripting language it has many advantages over a compiled language. When I need stuff done fast and simple (lets say a web page that consumes a public JSON API and shows it on the page) it is so much faster to do it in PHP that in .Net Core.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Okay, you found my trigger, here is my rant: your assumption is incorrect: PHP is not very, very, slow. Already in 2016 comparsions showed that PHP 7+ is going to be one of the fastest scripting languages. In 2018, PHP 7.2 is the current, and fast, version.
But this is not even the end: It is also incorrect to assume, PHP is always not compiled. PHP 7.+ uses optimized Operation-Code-Cache by default, which can be looked at as the compiled code. This cache got big improvements in PHP 7.2+, which makes it an even faster language, at least upon repeated execution (which is clearly given by most scenarios in which PHP is used).
PHP is not bad, they made it great again. PHP is not even slow (whatever that means) anymore. It is even fast, compared to other scripting languages. Also, consider the fact that not every slow language is bad. It is a feature, not a bug, for a scripting language to be a little slower (NodeJS, Python, R ... all slow!). It is simply not all about them microseconds.
Totally agree, PHP 7.2 is very fast and it works great. Also, php being a scripting language it has many advantages over a compiled language. When I need stuff done fast and simple (lets say a web page that consumes a public JSON API and shows it on the page) it is so much faster to do it in PHP that in .Net Core.