3 ms·
It is certainly not still there given that facebook doesn't run PHP any more. They wrote a compiler to translate a subset of PHP to C++, which they then compil
by asdasf 13y ago
It is certainly not still there given that facebook doesn't run PHP any more. They wrote a compiler to translate a subset of PHP to C++, which they then compiled into a massive executable. The compiler is open source and called hiphop, and it does not implement the PHP memory limits.
- MichaelGG 13y agoBy that logic, no one runs any programming languages, since they all get translated to x64 or other instruction sets.
- asdasf 13y agoThat makes no sense at all. The function in question sets the memory limit for the PHP interpreter. A specific piece of software. Facebook does not use that specific piece of software.
- MichaelGG 13y agoYour comment was ambiguous then. It sounded like your logic was "they don't run PHP because they wrote their own implementation"... which is still running PHP. I think you meant to say they're not running the normal PHP interpreter, so that particular functional call might not be implemented (but it could be, still...).
- Killswitch 13y agoFacebook still uses PHP bro...
- asdasf 13y agoThey still write code in the language PHP. They do not run that code using PHP the software you download from php.net. The memory limits of the PHP interpreter from php.net are not relevant at all to facebook's current operations.
- smsm42 13y agoThey don't do that anymore. Ask your Facebook friends, hphp has changed since then.
- asdasf 13y agoI know, I used past tense. But the initial hiphop work was when php memory limits stopped being relevant for them.