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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Clang vs. GCC: compiling Java HotSpot VM

3 点作者 andrewl-hn-ncp超过 14 年前

1 comment

dmlorenzetti超过 14 年前
The author speculates that Clang's inferior performance on C++ code may relate to Clang's focus on Objective-C, plus his use of a gcc newer than 4.2.<p>For what it's worth, I've seen a slight speed hit compared to gcc 4.2, in Clang-compiled binaries of an application I work on. That code is straight C, with lots of numerics, and lots of linked lists.<p>As for the author, I appreciate Clang's excellent diagnostics, and continue to use it as a second compiler.