[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]
4chanarchives logo

What's the best C compiler?What do you compile your C with? What options do


Thread replies: 14
Thread images: 4

File: term-compiler.jpg (46KB, 500x375px) Image search: [Google] [Yandex] [Bing]
term-compiler.jpg
46KB, 500x375px
What's the best C compiler?

What do you compile your C with? What options do you use?

I find
gcc -Wall -Wextra -O2
pretty comfy
>>
>>54549540
why no O3
>>
>>54549593
O3 unrolls loops and can result in bloated binary sizes.
>>
>>54549722
>hurr muh disk space
use -Os you retard
>>
HolyC
>>
Nah jk, LLVM is the only GOD tier compiler for me
>>
>>54549811
Binary sizes matter for cache locality...
>>
>>54549540
Clang and >>54549838
>>
File: solder.jpg (128KB, 1024x682px) Image search: [Google] [Yandex] [Bing]
solder.jpg
128KB, 1024x682px
>>54550010
geez just solder more cache to your cpu
>>
>>54550132
Bigger binaries -> more solder
>>
>>54549540
pretty sure the paid-for Intel compilers have always had the best performance and optimization across platforms

for windows, MSVC is also well-optimized, but obviously isn't cross-platform
>>
File: image_8.jpg (6KB, 153x199px) Image search: [Google] [Yandex] [Bing]
image_8.jpg
6KB, 153x199px
>>54550132
Oh no incoming ⌚⌚
>>
gcc main.c -o program
>>
File: 1377719443139.jpg (71KB, 360x403px) Image search: [Google] [Yandex] [Bing]
1377719443139.jpg
71KB, 360x403px
>not programming your software in assembly, max level
>not just writing microcode for your CPU to do things at the bare machine level
>not designing custom circuits that accomplish the calculations you need and inputting the given output using a separate computer
Thread replies: 14
Thread images: 4
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK