Facebook speeds up PHP
readwriteweb.com
readwriteweb.com
Considering the uproar generated by introducing something like namespaces into PHP, I strongly suspect the opposite of the bit in italics to be true. In fact, that's possibly why they did it this way.
(I mean the quote is pure crap, not your comment).
I think this reporting is a little haphazard.
http://morepypy.blogspot.com/search?updated-min=2010-01-01T0...
http://article.gmane.org/gmane.comp.lang.lua.general/42210 is tangentially related.
Although I still hope pypy will deliver on its promisses. We have to bear in mind that pypy's goal is not just enhanced speed. Its goals are much broader and this is one reason why, perhaps, this is not the best approach if you want full speed (there are trade offs which seem acceptable considering all the other benefits, such as easier of implementation of dynamic languages on top of pypy's framework).
I guess this is compared to plain PHP not to accelerators? And what exactly is the difference from a PHP accelerator?
Well surely the proof is in the eating - that is, if they've implemented it then it clearly works, they wouldn't be stupid enough to implement it if it's going to cost them money.
To answer your [rhetorical] question: The cost for this has been one developer for a year. That's not much for a speculative shot at increased server efficiencies that could save them big money in the server farm. Once they've developed it, even if it didn't produce the gains they needed then releasing it is sensible as it gains them some PR amongst the OS community and may get more fixes from that same community improving the result (lower costs) for FB.
So, I agree that the main 'bottleneck' in most PHP apps is probably not-PHP itself, there is still scope for improvement.
The project is very similar to Google's Unladen Swallow
project, which rebuilt the Python compiler, boosting the
speed fivefold [..]
There is not a word to be trusted, as the author clearly doesn't know what he is talking about.