2 ms·
This has been resubmitted a few times: Most comments: https://news.ycombinator.com/item?id=1540567 https://news.ycombinator.com/item?id=1540567 (357 points, 15
by gus_massa 12y ago
This has been resubmitted a few times:
Most comments: https://news.ycombinator.com/item?id=1540567 https://news.ycombinator.com/item?id=1540567 (357 points, 1555 days ago, 60 comments)
Latest: https://news.ycombinator.com/item?id=6823768 https://news.ycombinator.com/item?id=6823768 (2 points, 329 days ago, 3 comments)
Also, it would be a good idea to add [2010] to the title because some of the optimizations may be available in the latest gcc version. (I'd like to read an update, or a year by year comparison.)
- fdsary 12y agoAnd I upvote every time.
- gus_massa 12y agoThe article is interesting. But in many articles also the HN comments are insightful and interesting, so I like to read them again. This is the reason I usually link to the most voted/commented resubmission.
- cremno 12y agoThere doesn't seem to be any differences. I've used http://gcc.godbolt.org/ http://gcc.godbolt.org/, where one can also use Clang and compare the produced assembly by it with GCC's. At least one optimization is done by Clang 3.4.1, but not by GCC 4.2.1 and 4.9.0.