TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

HHVM 3.0.0

78 pointsby infinitebatteryabout 11 years ago

8 comments

nnqabout 11 years ago
What worries me is the large list of &#x27;unsupported PHP features&#x27;: <a href="http://docs.hhvm.com/manual/en/hack.unsupported.php" rel="nofollow">http:&#x2F;&#x2F;docs.hhvm.com&#x2F;manual&#x2F;en&#x2F;hack.unsupported.php</a> .<p>I know they can be considered bad practice, but in practice you use at at least a couple of them at least once in every project! And you use it because the alternative would be even uglier. (Also, what&#x27;s the point in having a language with a separate namespace for functions and variables - Perl and Common Lisp being the only other ones I know of - if you can&#x27;t at least have fun with variable variables and using a string directly as a function :) )<p>...also, they&#x27;ve &quot;downgraded&quot; PHP&#x27;s closures mechanism. I mean, with:<p><pre><code> return function foo($a, $b) use ($outer1, $outer2) { ... } </code></pre> ...PHP managed to do things better then all other dynamic languages - finally a way of being <i>explicit</i> about what variables from the outer scope you drag into a closure! The Hack guys totally missed the point - they&#x27;ve made everything stricter, but they relaxed this constraint and reverted one of the few good ideas in PHP.<p>Their VM may be awesome, but their language is horrid - they take away the &quot;fun&quot; features of PHP but <i>don&#x27;t fix any of the bad language design issues.</i> It&#x27;s like throwing away the baby and keeping the bath water - yeah, the water will keep you alive for a few more days in the desset, but the baby can actually be fun to play with.
评论 #7491772 未加载
评论 #7491862 未加载
dcc1about 11 years ago
So what IDE to guys at facebook use for HACK? My favourite editor PHP Storm doesn&#x27;t support it, yet.
评论 #7491057 未加载
alexgartrellabout 11 years ago
So coincidentally I work at Facebook and know a bunch of these guys pretty well, but I don&#x27;t actually interact with the Hack stuff at all (as I work in infrastructure doing flash and network stuff, primarily). I recently played around with the Open Source hack stuff and I installed it on my VPS.<p>Has anyone else played with Hack in a productionish environment? I&#x27;m just wondering what deployments and stuff are actually looking like in the world outside of Facebook.<p>p.s. tutorial that really exposed me to hack is here: <a href="http://hacklang.org/tutorial" rel="nofollow">http:&#x2F;&#x2F;hacklang.org&#x2F;tutorial</a>
评论 #7490204 未加载
ZeroGravitasabout 11 years ago
I noticed the other day that PHP has 30% code coverage. Is HHVM working to improve that (and pass the same tests, bug for bug) or is it relying on the unit tests of frameworks and packages?
cookerwareabout 11 years ago
What server can I use with HHVM to get the performance boost claimed in the video? Does it have a built in HTTP server?<p>Are there any benchmarks proving that HHVM improves performance?<p>Can I get a better performance than my current setup of Nginx + uWSGI + Flask ?
评论 #7491373 未加载
评论 #7492537 未加载
评论 #7492048 未加载
huntedsnarkabout 11 years ago
Donald Glover is his real name, as a rap artist he is Childish Gambino.
jhollyabout 11 years ago
Facebook is a roll! This, react, warp! Bravo guys!
adamorsabout 11 years ago
While the release names based on rappers is quite a fun idea, I don&#x27;t get why they didn&#x27;t go for people who are, you know, good at hip hop. I mean 50 cent and Childish Gambino? And especially next to Em and Ghostface. Or is this a good release&#x2F;bad release kind of thing?
评论 #7490947 未加载
评论 #7490482 未加载
评论 #7490809 未加载