Overview
Explore how Clang, a modern compiler for C, C++, Objective-C, and Objective-C++, can be leveraged to enhance developer productivity, detect bugs, enforce coding style, and facilitate large-scale refactoring in software projects. Learn from examples drawn from the Chromium project, the open-source foundation of Google Chrome. Discover the benefits of using an open-source, hackable compiler and why it's an exciting tool for developers. Gain insights into Clang's features such as improved error messages, type correction, warnings, null pointer detection, and style checking. Witness demonstrations of Clang's capabilities, including the AddressSanitizer and ThreadSanitizer tools for detecting memory errors and data races. Understand how Clang can be applied to various aspects of software development, from code formatting to working with dynamic languages.
Syllabus
Intro
What is Chrome
The Code
ThirdParty Code
Project Growth
Clang
Clang in Chromium
Why use Clang
Missing semicolon
Using Clang
GCC
Type Correction
Warnings
Null Pointer
Clang Hackability
Style Checker
Error
Virtual method
clang format
clang format demo
Why format
AddressSanitizer
Demos
Sanitizer
ThreadSanitizer
Demo
Fun Profit
Dynamic Languages
Taught by
GOTO Conferences