Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Over the last few years many contributions from Facebook have made it into PHP mainline 7 & 8, and we've seen respective performance gains.

Unsure how extensively they continue to use their PHP to C++ compiler internally.



The PHP to C++ compiler hasn't been used for something on the order of 10 years.

At least as of two years ago, pretty much entire web-facing portion of Facebook was written in Hack (which descends from PHP, but has what feels like every syntax feature you could stuff into an Algol-like language). Hack is run on HHVM, which is a bytecode VM that can JIT compile to machine code.


The php-to-c++ compiler was replaced many years ago with a JIT called HHVM.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: