
aghuttun
1 HN recommender · recommended in 3 months, 2015–2022
1:00:54 · 13K views · Jan 18, 2013
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.
Cited in discussions of why Clang exists and its case against GCC.
3 comments from Hacker News
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
> 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.
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.