Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. Clang vs GCC
Forum Updated to NodeBB v4.3 + New Features

Clang vs GCC

Scheduled Pinned Locked Moved C++ Gurus
4 Posts 4 Posters 2.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kofr
    wrote on 8 Dec 2016, 23:27 last edited by
    #1

    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?

    J K 2 Replies Last reply 9 Dec 2016, 05:41
    0
    • K Kofr
      8 Dec 2016, 23:27

      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?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 9 Dec 2016, 05:41 last edited by
      #2

      @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?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Kofr
        8 Dec 2016, 23:27

        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?

        K Offline
        K Offline
        Konstantin Tokarev
        wrote on 9 Dec 2016, 11:44 last edited by
        #3

        @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.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jagh
          wrote on 9 Dec 2016, 12:01 last edited by
          #4

          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 Reply Last reply
          0

          1/4

          8 Dec 2016, 23:27

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved