Hacker News new | past | comments | ask | show | jobs | submit login
Clang vs gcc Blender rendering comparison (uiuc.edu)
9 points by rogercosseboom on March 17, 2009 | hide | past | favorite | 4 comments



As I understand it, clang is a C front-end for the Low Level Virtual Machine infrastructure. It's fantastic that the benchmarks show it actually performing better than gcc in many cases, although it's not quite a valid comparison, given that the two programs are not outputting the same pixel values.


clang clearly performs much much worse than gcc. I would much rather correct results than fast results in the general case.

The compiler should not make this decision for me.


This is true, but clang is new software under active development. The intention of the project is not to trade off speed for correctness but to eventually be correct and fast.

According to the follow-up posts, the differences in rendering may largely be due to bugs in the floating point code generation. Once these are fixed, it is entirely possible that clang could generate the correct images at the higher speed. We won't know until then, however.


Great...I can get a 10-15% increase in speed in exchange for results that look like shit.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: