I enjoyed PHP at one point. I wrote frameworks, ORM's, NLP, template engines, etc..
Then I discovered Go which is like a grown-up version of PHP. Really simple to get started, solid standard library (PHP relies a lot on extensions), and fixes all the little things like formatting/styling, testing, error handling, benchmarking, modules, and parallel code execution.
It does all this in much less memory and is much faster.
Go is an excellent replacement for PHP when you start hitting the limits of little Laravel apps.
Oh sure, but getting developers to jump from PHP to Rust is a lot harder. Conversely, it's easier to get PHP developers to jump to Node.js despite all it's issues as well.
I mean, Go is still miles above scripting land. 75% of all the cloud computing projects are in Go and if you deal with micro services you'll find a lot of the tooling and systems are written in Go.
If you're using PHP, then Go or Java is much easier upgrade path than Rust.
Historically up to this point, I don't see anything that would have prevented you from doing most excellent things in this world, if PHP was the last and only programming language you had ever learned or known about.
Has anyone made FFI bindings so we can write kernel modules in PHP yet?
I mean all this push for "Rust in the kernel" is nice and all, but do we really need fancy things like "transitive equality"? They have played us for absolute fools.
Sometimes you just want a language that really puts in the work to find a reason why "0x10" == "16z" should be true, no matter what kind of improbable implicit casts have to be done to get there.
PHP makes the impossible possible, and you've got to keep life interesting or it would be too predictable!
Then I discovered Go which is like a grown-up version of PHP. Really simple to get started, solid standard library (PHP relies a lot on extensions), and fixes all the little things like formatting/styling, testing, error handling, benchmarking, modules, and parallel code execution.
It does all this in much less memory and is much faster.
Go is an excellent replacement for PHP when you start hitting the limits of little Laravel apps.