Skip to content
0:00 / 0:00

#clang#llvm#c++

GoingNative 2012 - Day 2 - Clang

aghuttun

4.2K subscribers • 7 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Hacker News.
  • Presented by Chandler Carruth, Google

Intermediate. Assumes working knowledge.

13K views13 years ago1 recommendation

Systems programmingProgramming languagesCompilers and interpretersC++Debugging

Chandler Carruth presents the design goals of Clang, focusing on its diagnostics, tooling integration, and defense against C++ programming errors.

Chandler Carruth - Clang: Defending C++ from Murphy's Million Monkeys

Why it's here

1 person recommends this

What people say. Highly recommended for understanding why Clang was created, its advantages over GCC, and its impact on C++ tooling.

jxramoson Hacker News • Recommends

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 link to this video

wolfpldon Hacker News • Mentions

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 link to this video at 2:22 for a direct quote from RMS on this topic.

omoikaneon Hacker News • Mentions

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: link to this video It turned out to be easier in the long run to write a compiler from scratch, than to work with GCC.