3 ms·
But Facebook compiles PHP into C++ or something right (I think now they have a newer approach than c++)? https://en.wikipedia.org/wiki/HipHop_for_PHP https://e
by cma 7y ago
But Facebook compiles PHP into C++ or something right (I think now they have a newer approach than c++)?
https://en.wikipedia.org/wiki/HipHop_for_PHP https://en.wikipedia.org/wiki/HipHop_for_PHP
- rgoulter 7y agoThe top-of-my-head story is that PHP5 was quite slow, Facebook's HHVM was PHP-compatible and fast. PHP7 was competitively fast with Hack. In terms of "performance needed for many users", Facebook doesn't use PHP (a "scripted language") for everything. etc.
- lclarkmichalek 7y agoIt's a JIT compiler nowadays: https://github.com/facebook/hhvm/ https://github.com/facebook/hhvm/
- saagarjha 7y agoHHVM now mainly only targets Hack these days.