News for hackers. Stuff that matters.
Re:Taking PHP Seriously by Siyo on Thursday October 13, 2016 @05:19PM (#12704119)
There are plenty of competitors in this space, they just don't use the CGI model of spawning a new _OS_ process for every request. You have Erlang/Elixir that have their own lightweight processes that don't share memory and have independent GC. And you can build similar systems on Java/Go. The difference is that in those language you have a choice. There are certain types of applications that you just can't reasonably make in PHP.
Re:Taking PHP Seriously by sciurus on Thursday October 13, 2016 @05:41PM (#12704294)
"they just don't use the CGI model of spawning a new _OS_ process for every request"

Which isn't what PHP does, fwiw.

Re:Taking PHP Seriously by Siyo on Thursday October 13, 2016 @06:20PM (#12704586)
What do you mean exactly? I mean yeah, it's a bit different with FastCGI when you have a pool of persistent processes. But you still basically boot up your whole application every time a request comes in. Opcode caching helps with loading code, but not execution. And you're still working with OS processes for concurrency, which is not ideal.