Skip to content
0:00 / 0:00

#c++#clang#llvm

The Care and Feeding of C++'s Dragons

aghuttun

4.2K subscribers • 7 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Chandler Carruth

Intermediate. Assumes working knowledge.

30K views13 years ago1 recommendation

Programming languagesSystems programmingC++Compilers and interpretersPerformance and optimization

Chandler Carruth discusses managing complexity in large C++ codebases using compiler-based tools and analysis platforms developed at Google.

Day 2 - Last year I described C++ as bearing the cautionary label 'Here Be Dragons.' And yet we're all still writing C++ because it is the best programming language for the problems we face. In turn, we need a strategy to deal with the "dragons" that reside in large C++ code bases. The Dragon Book (my old compiler textbook) taught about a collection of tools to address the complexity of compiler design, and while our challenge is somewhat different, the approach remains the same. When a mere mortal programmer ventures forth to battle the complexity of large software systems in C++, they're going to need some really good tools to help them. At Google, we've been building up a platform of such tools. I will introduce the platform and toolset, and show how to use them to write fast and correct C++ code, quickly and correctly. I will also give a peek into the future of the next generation of tools we're working on and some of the really interesting changes to C++ that are coming in the next few years to help both programmers and these tools be ever more effective.

Why it's here

1 person recommends this

What people say. Mentioned as a reference for powerful code formatting and analysis tools like clang-format.

Moments people linked to

u/0ldmanmikein r/haskell • Recommends

On “I want `go fmt` for Haskell, does anyone else?”

Something like `go fmt` or clang-format is probably the #1 tool I wish I had right now for Haskell. I'm really indecisive about formatting my Haskell code and it seems like there really isn't a standard way to format many parts of the language in the first place. It would be nice to just focus on writing code that actually works and then letting a tool format it according to some kind of template or standard - it would free that part of my mind up for other things.
26View on Reddit