News for hackers. Stuff that matters.
Re:Taking PHP Seriously by wvenable on Thursday October 13, 2016 @05:19PM (#12704118)
The startup time can be pretty extreme -- although you can mitigate much of this with various caching strategies but the typical PHP request involves reading dozens to maybe hundreds of files from disk, compiling them into byte code, and then executing that byte code, and then deallocating everything.

And even if you cache everything, you still have the code necessary to setup the runtime environment of you application which runs on every request and does the same thing.

But still, I do actually like that model and it does have many advantages for development. But it's really hard to work in PHP, the language, after using something better.

Re:Taking PHP Seriously by alaaibrahim on Thursday October 13, 2016 @05:41PM (#12704293)
> although you can mitigate much of this with various caching strategies but the typical PHP request involves reading dozens to maybe hundreds of files from disk, compiling them into byte code, and then executing that byte code, and then deallocating everything.

For the conversion to bytecode, that is what apc is for.

Re:Taking PHP Seriously by Jach on Thursday October 13, 2016 @06:56PM (#12704842)
Still often faster than for whatever unholy filter chain of jetty services to get through the stack to the code I care about.