Skip to content
C++
-
C++
C++ Templates, Concepts, STL Algorithms and Ranges
C++ lecture 5 on clang 21: read a 114-line template error, cut it to 22 with concepts, lambdas, lazy ranges, and std::sort vs stable_sort vs qsort timed.
-
C++
C++ Smart Pointers and Move Semantics, Measured
C++ lecture 4 on clang 21: unique_ptr, shared_ptr, weak_ptr, a cycle leak seen in destructor prints, std::move, and what noexcept does to vector growth.
-
C++
C++ Containers, Threads and -O2: Performance Measured
C++ lecture 6 on clang 21: vector, list, deque, map and unordered_map timed, reserve and SSO, a TSan data race, atomics vs mutex, -O0 vs -O2.
-
C++
C++ Functions, Overloading, std::vector and Strings
C++ lecture 2 on Apple clang 21: overload ambiguity errors, default arguments, the measured cost of passing a vector by value, push_back growth, ASan.
-
C++
C++ Classes, RAII and the Rule of Zero, Three, Five
C++ lecture 3 on Apple clang 21: constructors, destructors, RAII for files and locks, a shallow-copy double free caught by ASan, rule of 0/3/5, explicit.
-
C++
C++ Basics: First Program, Types, References, Strings
C++ lecture 1, run on Apple clang 21: first program in 5 minutes, cout vs printf vs std::print measured, references vs pointers, const, {} narrowing errors.
↑