topic / c-plus-plus
C++
Memory, speed, and systems programming.
Study memory management, RAII, smart pointers, the STL, move semantics, templates, and concurrency primitives that make C++ fast and precise.
6 articles · 3 videos · 1 trace · 1 request flow · 1 interview · 12 total
Articles
C++ Concurrency: Threads and Atomics
How std::thread, std::mutex, and std::atomic work, and the race conditions and memory ordering issues they prevent.
Move Semantics and Rvalue References
How std::move and rvalue references eliminate unnecessary copies, and when move constructors are called.
RAII and Smart Pointers
How Resource Acquisition Is Initialization prevents memory leaks, and how unique_ptr, shared_ptr, and weak_ptr manage ownership.
Stack vs Heap: Where Memory Lives
Understand the difference between stack memory (fast, automatic) and heap memory (dynamic allocation), and when to use each.
STL Containers and Algorithms
std::vector, std::map, std::unordered_map, std::set, iterators, and the algorithm functions that operate on them.
What Is a Pointer?
A pointer is a variable that stores a memory address. Learn how pointers work, pointer arithmetic, and null pointers.
Request Flows
Videos
C++ Advanced: Move Semantics and Concurrency
How move semantics eliminates copies, and how threads, mutexes, and atomics enable safe concurrent programming.
DetailsC++ Foundations
A beginner walkthrough of C++ memory management, pointers, stack vs heap, and how function calls use the call stack.
DetailsC++ Intermediate
Automatic memory management with RAII and smart pointers, and the Standard Template Library.
DetailsTraces
Interviews
Explore adjacent
New lessons by email
Get new explanations about c++ and related systems in your inbox.
One technical dispatch per week. No noise.