TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How HHVM Uses Modern C++ for Fun and Profit (2014) [video]

73 点作者 StylifyYourBlog超过 10 年前

4 条评论

TazeTSchnitzel超过 10 年前
I don&#x27;t like how C was completely ignored when talking about languages with comparable performance. :p<p>The Zend Engine 3 (aka the stock PHP 7 interpreter) is, according to one HHVM developer, &#x27;embarassingly competitive on the test suites&#x27;, and it&#x27;s written in C.<p>&#x2F;rant<p>C++ is probably much nicer to maintain, though. C ends up being macro hell.
评论 #9036991 未加载
评论 #9036994 未加载
simula67超过 10 年前
I remember someone from Facebook saying that ( can&#x27;t find the link ATM ) when HPHP was being built there was a competing project to trans-compile PHP to Java. In the end they compared the performance and found that the C++ was faster and went with it. Is it true ?<p>If it is, I wonder how they feel now that they have given up speed improvements and built a VM in search of other advantages. At least if they had chosen the JVM they could have taken advantage of interoperability that JVM provides with other languages to convert at least part of their code base to JVM languages, thereby possibly improving maintainability.
评论 #9038325 未加载
TazeTSchnitzel超过 10 年前
I was expecting a talk about how cool C++11 features are. It was actually a talk about how C++ lets you be super close-to-the-metal and do ridiculous performance hacks. Interesting.
peterashford超过 10 年前
Nobody uses C++ for fun. Unless they&#x27;re a masochist.
评论 #9037097 未加载
评论 #9037124 未加载
评论 #9037653 未加载
评论 #9037003 未加载
评论 #9037473 未加载