5 ms·
Isn't ironic that all this great engineering advances (they're influencing Intel) are all based on running more efficiently the much hated PHP? In the future,
by lucio 11y ago
Isn't ironic that all this great engineering advances (they're influencing Intel) are all based on running more efficiently the much hated PHP?
In the future, maybe the first step to make a highly scalable green web-based startup is to choose PHP to write your code. ;)
- Scarbutt 11y agoPHP with their own created VM and JIT ;) (and for new code they switched to Hack)
- pinewurst 11y agoHow soon before Intel is selling FB custom SKUs with PHP/HHVM accelerating instructions? They could name it Love Canal Technology.
- PeCaN 11y agoWell... they wrote their own PHP-to-C++ compiler (which is both insane and incredibly impressive), then their own PHP tracing JIT compiler, and their own PHP type checker.... At what point does it become their own language? Also a good amount of their backend services use better languages like Haskell, D, Erlang, and whatever else they need.
- nuclear_eclipse 11y agoThere's a reason the combination of type checking, proper containers and generics, inline XML, and asynchronous processing is all called Hack, and the runtime is called HHVM. At this point, new code using all these features only vaguely resembles PHP, but it's far more robust and maintainable, and vastly more performant.
- techdragon 11y agoWhen they started to call it "Hack" instead? More seriously... I'm pretty sure they no longer consider it a PHP code base. I could be wrong though since I don't work there.
- Bluestrike2 11y agoFacebook has spent a lot of time and man hours working around a lot of the issues most people have with PHP. Throw enough talented engineers at it (or any language), and they'll come up with some mighty creative solutions. It's not like they can do a rewrite, nor should they when they've obviously managed to make it work for them. Plus, their investors would kill them. Very, very slowly for such a boneheaded idea. Anyhow, most new startups don't really have the resources to do anything remotely like that. Best to choose a well-established language that works well for your needs with manageable downsides.