C++ Memory Management Masterclass - Cohort 2
Overview
Memory errors are responsible for over 70% of critical security vulnerabilities and in C++, they can cost you performance, stability, and credibility.
In this live, hands-on masterclass, you’ll learn how to take complete control of memory in modern C++ - directly from Patrice Roy, #1 bestselling author of C++ Memory Management and a long-standing member of the ISO C++ Standards Committee (WG21).
This is not a theory-heavy course. It is a practical, production-focused workshop designed to help you write C++ code that is fast, predictable, exception-safe, and memory-leak free.
What You’ll Be Able to Do After This Workshop
By the end of these two days, you will be able to:
- Confidently design ownership models that prevent leaks and undefined behavior
- Use RAII and smart pointers correctly—and know when not to use them
- Write exception-safe, high-performance code suitable for real-world systems
- Understand what actually happens behind new, delete, and custom allocators
- Diagnose and fix memory-related bugs before they reach production
Why Learn from Patrice Roy?
Patrice Roy brings together deep theoretical knowledge and decades of real-world experience:
- #1 bestselling author of C++ Memory Management
- Active member of the ISO C++ Standards Committee (WG21) since 2014
- Contributor to SG14 (Low-Latency Study Group)
- 20+ years training professional and game programmers
- Former R&D engineer working on military flight simulators
- PhD in Computer Science
You’re not just learning how memory management works—you’re learning how the people who shape the language think about it.
Who Should Attend?
This workshop is designed for developers who want to sharpen their C++ skills and take full control of memory management:
- Intermediate C++ developers ready to deepen their understanding of modern memory techniques.
- Performance-focused programmers working with tight space or speed constraints.
- Cross-language developers coming to C++ from another language who want to understand its memory model.
- Game and systems programmers seeking predictable execution and low-latency performance.
- Curious coders eager to explore smart pointers, custom allocators, and memory leak detection.
What This Live Workshop Covers
Why Attend?
This 2-day interactive workshop combines explanation, live coding, and applied exercises:
- Core memory management principles every C++ developer must master
- The RAII idiom and how it enables safer, cleaner designs
- Smart pointers: correct usage, common traps, and performance implications
- Operator new, allocation strategies, and memory layout fundamentals
- Techniques for writing robust, low-latency, memory-safe applications
You’ll leave with mental models, patterns, and techniques you can apply immediately.
Who Should Attend (and Why)
This workshop is ideal for:
- Intermediate C++ developers who want to move beyond “working code” to correct, professional code
- Performance-focused engineers working under tight speed or memory constraints
- Game and systems programmers who need predictable execution and low latency
- Developers transitioning to C++ who want to truly understand its memory model
- Experienced programmers who want to eliminate subtle bugs and undefined behavior
If you’ve ever struggled with leaks, crashes, or unclear ownership—you belong here.
Why This Cohort Matters
- Live, instructor-led sessions
- Direct interaction with a C++ standards expert
- Structured learning over two focused days
- Learn alongside peers facing similar challenges
Seats are limited to maintain interactivity.
Lineup
Good to know
Highlights
- 1 day 5 hours
- Online
Refund Policy
Location
Online event
Open Networking
Module 1: Fundamentals – Foundations for Efficient Memory Management in C++
This module introduces the key concepts behind memory management in C++. You will learn how memory is structured in the language, how objects, pointers, and references work, and how object lifetime affects program behavior. We will also cover how size, alignment, and padding influence memory layout, and clarify how arrays and pointer arithmetic behave. The module ends with an overview of const and volatile qualifiers and a practical guide to using C++ casts safely.
Break
Frequently asked questions
Organized by
Packt Publishing Limited
Followers
--
Events
--
Hosting
--