GoingNative 2012 - Day 2 - Clang
Why Hacker News recommends it
Cited in discussions of why Clang exists and its case against GCC.
What it is
Chandler Carruth's GoingNative 2012 talk on Clang, covering how the compiler helps defend C++ code from mistakes. It makes the case for Clang's diagnostics and tooling.
Recommended by 1 HN commenters across 1 different months, 2015 to 2022.
What Hacker News said
Recommends jxramos · 2015-07 · on “Compiler Errors for Humans”
Agreed, Chandler from Google makes the good case here for Clang. Chandler Carruth - Clang: Defending C++ from Murphy's Million Monkeys GoingNative 2012 - Day 2 - Clang [this video]
Cites wolfpld · 2017-08 · on “Using Clang on Windows”
> both clang and GCC are viable bases from which you make your internal tooling. License is not the only factor determining usability of a compiler wrt interfacing with external tools. GCC was deliberately designed to prevent such usage. See [this video] at 2:22 for a direct quote from RMS on this topic.
Cites omoikane · 2022-04 · on “Richard Stallman – The state of the Free Software movement”
Related, the reason why Clang was created is because GCC was specifically made to prevent it from being used with non-free software. You can find that quote around 3:17 of this talk: [this video] It turned out to be easier in the long run to write a compiler from scratch, than to work with GCC.