by hparadiz · 2y ago · 0 comments
I've started to learn the ecosystems of the other languages. It's all the same shit. Really.
I used PHP to run some service workers managed with supervisord and it was fine. I just get annoyed with the class-based hierarchy but I'd guess they've evolved since 2017 or whenever I used it last.
To me, what PHP needs is a simple module system with scoped functions and variables, an object literal syntax rather than `new \stdClass`, and first-class simple to use threading/async/promises for concurrent requests and IO.
The worst thing about PHP: shared nothing architecture.
It works extremely well until it doesn’t really scale anymore.