Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

why would or should it?


One can argue that PHP is the least suitable language to write web servers in, no standard async or multithreading, tones of leaks, and so on. Node asynchronous model is quirky but given js world's "isomorphism" it should have squeezed PHP out of existence by now


> One can argue that PHP is the least suitable language to write web servers in

Of course, because you don't write a web server in PHP. You put it behind nginx or apache and those can fork off PHP processes (or you use FPM, or etc.) to do everything for you.


Oh sure, and the only reason one would do this is to keep Aws bills up to Amazon shareholders expectations


PHP is roughly the hardest language to experience the effects of memory leaks in because of it's one process per request model.


You don't write web servers in JS, either. You use Node.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: