Advanced C++


Description
This course begins with advanced C++ concepts by helping you decipher the sophisticated C++ type system and understand how various stages of compilation convert source code to object code. You'll then learn how to recognize the tools that need to be used in order to control the flow of execution, capture data, and pass data around. By creating small models, you'll even discover how to use advanced lambdas and captures and express common API design patterns in C++. As you cover later lessons, you'll explore ways to optimize your code by learning about memory alignment, cache access, and the time a program takes to run. The concluding lesson will help you to maximize performance by understanding modern CPU branch prediction and how to make your code cache-friendly.
| Lesson Id | Title | Description |
|---|---|---|
| 1 | Anatomy of Portable C++ Software |
Managing C++ Projects Writing Readable Code |
| 2 | No Ducks Allowed – Types and Deduction |
C++ Types Creating User Types Structuring our Code |
| 3 | No Ducks Allowed – Templates and Deduction |
Inheritance, Polymorphism, and Interfaces Templates – Generic Programming Type Aliases – typedef and using Class Templates |
| 4 | No Leaks Allowed – Exceptions and Resources |
Exceptions in C++ RAII and the STL Move Semantics Name Lookup Caveat Emptor |
| 5 | Separation of Concerns – Software Architecture, Functions, and Variadic Templates |
Function Objects and Lambda Expressions Variadic Templates |
| 6 | The Philosophers' Dinner – Threads and Concurrency |
Synchronous, Asynchronous, and Threaded Execution Review Synchronization, Data Hazards, and Race Conditions Future, Promises, and Async |
| 7 | Streams and I/O |
File I/O Implementation Classes String I/O Implementation I/O Manipulators Making Additional Streams Using Macros |
| 8 | Everybody Falls, It's How You Get Back Up – Testing and Debugging |
Assertions Unit Testing and Mock Testing Understanding Exception Handling Breakpoints, Watchpoints, and Data Visualization |
| 9 | Need for Speed – Performance and Optimization |
Performance Measurement Runtime Profiling Optimization Strategies Cache Friendly Code |