[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
clang or gcc and why.
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: 26
Thread images: 3
File: 1359236051-gcc-llvm.jpg (106 KB, 1070x400) Image search: [Google]
1359236051-gcc-llvm.jpg
106 KB, 1070x400
clang or gcc and why.
>>
>>51793447
I consider your image to be accurate.
>>
>>51793447
GCC, obviously
>>
>>51793447
gcc because of the g
>>
Clang compile faster.
GCC Perform better.
>>
>>51793447
Clang:
Modular.
Faster than GCC.
Have much better FreeBSD support.
Permissive license.
>>
>>51795862
Binaries compiled with gcc are no longer significantly more performant than those compiled with clang. The information you based your post on is years out of date.
>>
File: 1437609780243.jpg (50 KB, 616x533) Image search: [Google]
1437609780243.jpg
50 KB, 616x533
>clang
>can't even compile Linux

Nobody cares about your compilers performance when it cant even compile, guys...
>>
>>51796749
this desu senpai

gcc is the only real choice
>>
>>51796715
>>51796749
>>51796759
>your post on is years out of date.
Anon, it's about 5 year since it not true.
>>
gcc just out of my pure love for Richard Stallman
>>
>>51796749
Clang's been able to compile Linux for quite some time.
https://youtu.be/Jp04DMXH2Rg

The only reason it's not the primary compiler used for compiling Linux yet is because there are still some niche architectures that the linux kernel doesn't build properly for under clang (due to the use of non-standard gcc-specific features). There is already an effort underway by kernel developers, including Linus himself, to make every aspect of the kernel work when compiled under clang so they can switch to clang as the primary compiler.
>>
File: 1334600502678.jpg (152 KB, 665x1404) Image search: [Google]
1334600502678.jpg
152 KB, 665x1404
>>51796797

this :3
>>
>>51796715
>>51796795
Last time i tested was 10 months ago I'll test it again next year.
>>
>>51793447
Is LLVM up to far with GCC yet? And what are the advantages it's supposed to give?
>>
>>51797007
*par
>>
>>51796996
No, you don't.
http://www.osnews.com/story/23949
>>
>>51797052
I'm just this one i've never tried to compile the linux kernel
>>51795862
>>
>>51793447
gcc because I don't know any better
>>
clang if you want readable error messages and don't care about freedom/want to live in a facist state.

GCC if you love freedom
>>
>>51797103
Okay...
I need go to sleep.
>>
Reminder that GCC is deliberately crippled because stallman fears that some generally useful features might be leveraged by non-free software

https://www.youtube.com/watch?v=UtwaK-s9QRI
>>
LLVM's development is less prone to non-programming related distractions. The devs aren't worried people making use of features in a product with a differing license.
>>
>>51795862
That's not true.
My VM performs faster when compiled with Clang.
>>
>>51796664
This.
>>
LLVM is one of the best things to be popular in recent years. It's just a beautiful software that is architechturally great.
Thread replies: 26
Thread images: 3

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.