Clang vs GCC
-
wrote on 8 Dec 2016, 23:27 last edited by
I came across topic with benchmarking of GCC and Clang
http://www.phoronix.com/scan.php?page=article&item=gcc-61-clang39&num=1
So far I used GCC, but it seems not the fast. What do you use and why Clang is faster sometimes? -
I came across topic with benchmarking of GCC and Clang
http://www.phoronix.com/scan.php?page=article&item=gcc-61-clang39&num=1
So far I used GCC, but it seems not the fast. What do you use and why Clang is faster sometimes?@Kofr I'm using what is the default on the platform: GCC on Linux, VC++ on Windows. Clang is now default on MacOS.
Why Clang is faster? Well, that you should ask Clang developers, not in a Qt forum.
Do you have any real issues with GCC performance? -
I came across topic with benchmarking of GCC and Clang
http://www.phoronix.com/scan.php?page=article&item=gcc-61-clang39&num=1
So far I used GCC, but it seems not the fast. What do you use and why Clang is faster sometimes?wrote on 9 Dec 2016, 11:44 last edited by@Kofr I'm using Clang for native compilation unless I have to use GCC for some reason. For cross-compilation I'm using what vendor recommends, currently it's always GCC.
-
wrote on 9 Dec 2016, 12:01 last edited by
I'm using Microsoft's compiler for Windows, GCC for Linux.
And I find that GCC is definitely the slower one of the two. Why? Have no idea.
1/4