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.

V8 is faster than GCC

68 pointsby wingoalmost 14 years ago

9 comments

cloudheadalmost 14 years ago
I can't even begin to explain how wrong this benchmark and the author's conclusion is. I'd rather see a benchmark of apache vs a fibonacci function than read this nonsense.
评论 #2642223 未加载
评论 #2642538 未加载
pcwaltonalmost 14 years ago
This is a banal point. Yes, separate compilation hurts performance. But that's what link-time optimization is for. GCC and LLVM alike can both do link-time optimization.<p>You might as well say "gcc with -O0 is slower than V8, therefore V8 is faster than gcc".
评论 #2642741 未加载
PassTheAmmoalmost 14 years ago
How about trying a benchmark that mimics an actual program that someone would use.
strmpnkalmost 14 years ago
Obscure? It's interesting but I can't see a case where I'd be recompiling C code every time I want to run something. On the other hand, we can't just go AOT compile using V8 (AFAIK) so let's call V8 always slower?
评论 #2642337 未加载
hammerdralmost 14 years ago
In my mind, the value of this benchmark isn't to prove that V8 is absolutely faster than C but that there is intrinsic value in doing runtime compilation instead of / on top of compile-time optimizations.<p>It's a demonstration of <i>why</i> run time optimizing compilers/runtimes may one day become faster than compile time optimizing compilers.
st3fanalmost 14 years ago
Yay! Another useless benchmark!
neuroelectronicalmost 14 years ago
No kidding.
d0vsalmost 14 years ago
What.
nickikalmost 14 years ago
Every reader of that blogpost: Oh blabla unfair, the C code of the thing would be faster if the thing had included the other thing blabla.<p>I think its a fun benchmark :)