HackerTube

GoingNative 2012 - Day 2 - Clang

aghuttun1 HN recommender · recommended in 1 month, 2015–2022
YouTube
talk · intermediate · 2015–2022 on HN

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

@jxramos2015-07 · in “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

Recommends View on HN
@omoikane2022-04 · in “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.

@wolfpld2017-08 · in “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.