Re:Ask HN: State of PHP at Facebook?
by connordoner on Wednesday October 27, 2021 @12:43PM
(#29015716)
For anyone interested, it looks like there's an open-source version (close, at least) to Ent at https://github.com/ent/ent.
Re:Ask HN: State of PHP at Facebook?
by fredemmott on Thursday October 28, 2021 @11:27AM
(#29027229)
There's also https://github.com/hhvm/hack-codegen/tree/master/examples/do..., along with the article at https://engineering.fb.com/2015/08/20/open-source/writing-co...
This is modern Hack code, but not representative of the state of the Ent framework nowadays - ent/ent is closer design-wise, but not usable from Hack.
There doesn’t seem to be any incentive to switch www away from Hack: it wouldn’t reduce the learning curve very much due to all those internal frameworks, and would remove the opportunity to optimize the language for the www codebase.
There are open source languages used in the internal backends though (services behind www). Most of it is C++.