[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
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 14
Thread images: 4
File: term-compiler.jpg (46 KB, 500x375) Image search: [Google]
term-compiler.jpg
46 KB, 500x375
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 (128 KB, 1024x682) Image search: [Google]
solder.jpg
128 KB, 1024x682
>>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 (6 KB, 153x199) Image search: [Google]
image_8.jpg
6 KB, 153x199
>>54550132
Oh no incoming ⌚⌚
>>
gcc main.c -o program
>>
File: 1377719443139.jpg (71 KB, 360x403) Image search: [Google]
1377719443139.jpg
71 KB, 360x403
>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

banner
banner
[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.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.