Re:Speeding up PHP with the HipHop VM
by maratd on Thursday November 29, 2012 @05:25PM
(#4850646)
Things make sense now. I remember a while back Facebook invested in an experiment with PHP on PyPy. They didn't pursue it, even though it produced impressive results. It seems their own in-house JIT has better performance?
[ Parent
| on HN ]
HHVM was pretty far along when we started talking to the PyPy folks; it was already able to run the site, and hosting internal development at Facebook. Our interest in PyPy wasn't an immediate, drop-everything-and-change-to-PyPy kind of interest. It was a research project, which had a positive outcome. Making a production-ready, PyPy-based system for PHP would still be an enormously big undertaking, though.
PyPy is taking a radically different approach from what HHVM is doing (and really from what almost all other dynamic language systems are doing), and it's a fascinating system. Part of what's exciting about it is that it seems like it should be applicable to other languages with less effort than most other JITs, and we wanted to understand its potential for a language like PHP. We asked Maciej Fijalkowski (hi, Maciej, if you're reading!) to help us do a research prototype to see what the first few roadblocks would look like, and Maciej did a great job. Just because we didn't scrap our current project and shift all our resources to PyPy should not be seen as a negative reflection on PyPy at all.
I'm kind of surprised you didn't pursue the JVM and InvokeDynamic for this purpose instead of PyPy
Re:Speeding up PHP with the HipHop VM
by aardvark179 on Friday November 30, 2012 @06:11AM
(#4852736)
I think there is a project of that sort going on, there was a guy from Facebook at the jvm language summit this year.