In this talk, I'll describe our efforts to improve the performance of
Facebook's website over the past 10+ years. I will give an overview
of how Facebook morphed from running standard PHP code using PHP's
interpreter to running the Hack dialect of PHP on top of HHVM -- a
highly optimized virtual machine. This talk will present multiple
generations of the PHP/Hack compilers that we built along the way.
Finally, I'll also talk about two binary-level optimization tools that we
built to overcome weaknesses in highly optimized C/C++ compilers
(GCC/Clang) used to build HHVM and many other large-scale binaries.