Skip to Content
C++ Memory Management
book

C++ Memory Management

by Patrice Roy
March 2025
Intermediate to advanced
442 pages
11h 16m
English
Packt Publishing

Overview

In "C++ Memory Management," you'll explore advanced techniques to harness the power of memory handling in C++. Whether you work on embedded systems, real-time platforms, or desktop applications, this book teaches you to write safer and more efficient code using modern memory-management practices.

What this Book will help me do

  • Develop a solid understanding of memory mechanisms in C++ for leaner program design.
  • Master techniques to automate and optimize memory management for better program safety.
  • Gain the skills to create custom memory allocation strategies suited for specialized applications.
  • Understand how to implement and utilize smart pointers for dynamic memory handling.
  • Learn to design robust and optimized data structures with advanced memory management features.

Author(s)

Patrice Roy, a member of the ISO C++ Standards Committee, brings decades of programming experience. As a seasoned educator and author, Patrice specializes in clear explanations that bridge abstract concepts and practical coding knowledge. His approach combines foundational principles with hands-on applications, ensuring readers build a thorough and practical understanding of memory management.

Who is it for?

If you're a C++ programmer who faces challenges with memory management and wants to gain mastery in this area, this book is crafted for you. Both experienced developers and those transitioning from other languages will find value. Ideal for professionals seeking to optimize performance in areas such as embedded systems, game development, or other constrained computing domains. Basic knowledge of C++ and programming principles is assumed.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

C++

C++

Rheinwerk Publishing, Inc, Torsten T. Will
C++ High Performance - Second Edition

C++ High Performance - Second Edition

Björn Andrist, Viktor Sehr
C++ Crash Course

C++ Crash Course

Josh Lospinoso
C++ in Embedded Systems

C++ in Embedded Systems

Amar Mahmutbegović

Publisher Resources

ISBN: 9781805129806