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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Cat *.c >tmp.c && gcc -O3 -fwhole-program $YOURFLAGS -o ohmygawditsfast tmp.c

12 点作者 mrpixel超过 14 年前
This will get you warp-speed if there're no clashes. -Os instead of -O3 makes another wet dream come true (guess which).

3 条评论

wtallis超过 14 年前
Or, just use LLVM's link time optimization:<p><a href="http://llvm.org/docs/LinkTimeOptimization.html" rel="nofollow">http://llvm.org/docs/LinkTimeOptimization.html</a>
评论 #1948284 未加载
amock超过 14 年前
It's not a C compilers, but Mlton is an interesting SML whole program compiler. There's also JHC for Haskell which is nifty but can't quite compile all Haskell programs. I also found the Stalin Scheme compiler very interesting since it seems like a whole program compiler for a dynamically typed language like Scheme should be able to do a lot of interesting things.
leppie超过 14 年前
Why not just pass *.c to gcc ? Same thing isn't it?
评论 #1949534 未加载