News for hackers. Stuff that matters.
Re:How to convince any C developer to dump gcc and use clang by cperciva on Saturday March 06, 2010 @11:56PM (#1172895)
Which version of gcc?

I had a 2x speedup a few years ago on math-heavy code (FFTs) by switching from gcc 4.2 to gcc 3.4 -- apparently there was a known issue in gcc's optimizer where it would flag too many values as "keep this in a register" and end up spending lots of time moving data to and from the "register overflow space" on the stack. (I don't know if this has been fixed -- as I said, it was a few years ago that I ran into this issue.)

Re:How to convince any C developer to dump gcc and use clang by alecco on Sunday March 07, 2010 @06:07PM (#1174206)
I second that on gcc version. On many math related code gcc-4.4 is amazing. Specially if vectorization and/or SIMD is possible.