by m4l3x · 4y ago · 0 comments
I was mainly solving high performance parallel processing and distributed problems.
There are things like ReactPHP which are an awesome achievement, but still every lib you use needs to be developed for ReactPHP.
After learning about go and goroutines I only find it painful to solve these problems in PHP, even using ReactPHP.
My bad, because it took me a lot of time. I needed to do benchmarks were actually PHP turned out to have comparable performance in the scenario under test (concurrent consuming of message Queues and heavily write operations to databases), however it took more than 4 times the effort to get there with php.
In the end I resigned and switched to a new opportunity doing golang solving similar issues.
My point is, that there are folks out there (ab)using PHP for all and everything. And finally php has made a lot of improvements but it is just catching up with other languages. There are still a lot of libraries, that still use older versions and probably never will get updated.
Plus you can build just about anything with Go! Whereas PHP is pretty strictly for web development.