Rethinking Fedora's compiler policy
Rethinking Fedora's compiler policy
Posted Apr 28, 2021 18:35 UTC (Wed) by mss (subscriber, #138799)Parent article: Rethinking Fedora's compiler policy
Is it sill true in 2021?
On the other hand, I can still see a significant advantage that Clang has over GCC in terms of build speed and compiler memory usage when compiling larger C++ codebases like Firefox/Thunderbird or Chromium.
Posted Apr 28, 2021 20:24 UTC (Wed)
by eru (subscriber, #2753)
[Link] (1 responses)
Posted Apr 30, 2021 18:20 UTC (Fri)
by JoeBuck (subscriber, #2330)
[Link]
We are fortunate to have two strong compilers; the competition between them has made them both better.
As for what distros should do, I think library packages need to be built with one compiler, but for non-libraries it's less critical. However, it's always helped GCC that, before a new major version is released, someone or someones try building entire distros with the new compiler, to shake out bugs in both and to help produce the porting notes (sometimes additional strictness flags problems with code that built with the previous compiler release but perhaps shouldn't have).
Rethinking Fedora's compiler policy
Rethinking Fedora's compiler policy
