5 ms·
I use Hack now (I work for Facebook) and i kinda like it, at least in comparison to any untyped languages. So, serious question... Is there really any reason t
by cletus 9y ago
I use Hack now (I work for Facebook) and i kinda like it, at least in comparison to any untyped languages.
So, serious question... Is there really any reason to use PHP over Have?
- donatj 9y agoUbiquity? Easy installs?
- krapp 9y agoI like Hack as well, although just as a hobbyist, but it doesn't seem to have gotten a lot of traction. Hosting options appear limited, and support for HHVM seems to be decreasing, rather than increasing. Many developers seem hesitant to use anything tied to Facebook after the React patent license controversy. Hack's biggest success thus far seems to be serving as a wakeup call to PHP itself. What it needs as a language is some version of PHP's ubiquitous hosting infrastructure, preferably one that supports calling Composer with HHVM and allows XHP as well, and actually gets updated and maintained (I'm looking at you Openshift.)
- muglug 9y agoYes. HHVM has now explicitly diverged from PHP, so compatibility with PHP 7 code is not guaranteed, and so too any given PHP 7 library. If you work for Facebook (or Slack), this is not a problem. You still have talented engineers working to improve the language. But there also isn't the guarantee that those improvements will benefit the average use case. Also PHP is available everywhere. HHVM, not so much.
- jrs95 9y agoThis has been a huge disappointment for me. Hack seemed really promising, but some of the decisions they've made really seem to have strangled any hope of there being much of an ecosystem outside a few companies that are heavily invested in it.
- pjmlp 9y agoISP hosting.
- jdpedrie 9y agoA very large percentage of the popular packages have ceased to concern themselves with Hack compatibility, so as the languages continue to diverge, the benefit of Hack taking advantage of the PHP package ecosystem will decrease.
- raresp 9y agoHack is Great, I hope PHP will also introduce async/await, generics, JIT compiler soon.