News for hackers. Stuff that matters.
Re:Ask HN: State of PHP at Facebook? by geenat on Wednesday October 27, 2021 @12:18PM (#29015337)
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.

Re:Ask HN: State of PHP at Facebook? by simscitizen on Wednesday October 27, 2021 @12:23PM (#29015430)
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.

Re:Ask HN: State of PHP at Facebook? by ahupp on Wednesday October 27, 2021 @12:25PM (#29015448)
The php-to-c++ compiler was replaced many years ago with a JIT called HHVM.