News for hackers. Stuff that matters.
Re:Compilers in OpenBSD by foobarbazqux on Thursday August 01, 2013 @03:25PM (#6142813)
> It makes me wonder how many people there are like me who would be willing to pay $100/year for a bespoke C compiler that was supported by a single source and stable.

Did you look at ICC / XLC / MSVC? They typically outperform GCC by about 20%, although I haven't checked in a while.

Re:Compilers in OpenBSD by neckbeard on Thursday August 01, 2013 @06:23PM (#6143996)
You should probably check again, but in any case MSVC shouldn't be compared to gcc/icc/clang - it can't even compile code written for a 14 year old language specification (C99), so no sane person should use it for C development these days.
Re:Compilers in OpenBSD by TwoBit on Friday August 02, 2013 @04:25AM (#6145911)
FWIW, Microsoft hasn't made an effort to support much of C99 because almost none of their users (Windows and XBox developers) use C. I don't know any Windows or XBox programmers who uses C.

Your point is still valid: if you want to compile C99 code, MSVC is not even an option.

Re:Compilers in OpenBSD by foobarbazqux on Friday August 02, 2013 @01:45PM (#6148445)
It depends on the features you use. If all you want is variadic macros, long long, __FUNCTION__, and stdint.h, it has those things.

If you don't care about sticking to C, you can usually get what you want with a C++ feature anyway.

http://stackoverflow.com/questions/3879636/what-can-be-done-...

Re:Compilers in OpenBSD by TwoBit on Friday August 02, 2013 @04:21AM (#6145900)
Up to some point in the past, MSVC produced better code than GCC, but most recent benchmarks have them roughly equal. MSVC has actually gotten slower in the last couple iterations, but not by a lot.
Re:Compilers in OpenBSD by ChuckMcM on Thursday August 01, 2013 @05:27PM (#6143660)
I have ICC-ARM which has out performed GCC for a while. I still use arm-none-eabi-gcc for things which I expect other people to build.
Re:Compilers in OpenBSD by shin_lao on Friday August 02, 2013 @02:29AM (#6145602)
I'm not sure MSVC produces faster code than gcc. Icc does, but MSVC doesn't.

Note: our build system uses three compilers.

Re:Compilers in OpenBSD by apaprocki on Thursday August 01, 2013 @03:52PM (#6143014)
Actually, more like The Portland Group: http://www.pgroup.com/
Re:Compilers in OpenBSD by mansr on Friday August 02, 2013 @06:55AM (#6146305)
In my experience gcc has fewer bugs than icc or xlc.