C++ Memory Management: Write leaner and safer C++ code using proven memory-management techniques

★★★★★ 4.6 142 reviews

$29.29
Price when purchased online
Free shipping Free 30-day returns

Sold and shipped by amenhomehealthcare.com
We aim to show you accurate product information. Manufacturers, suppliers and others provide what you see here.
$29.29
Price when purchased online
Free shipping Free 30-day returns

How do you want your item?
You get 30 days free! Choose a plan at checkout.
Shipping
Arrives Jul 13
Free
Pickup
Check nearby
Delivery
Not available

Sold and shipped by amenhomehealthcare.com
Free 30-day returns Details

Product details

Management number 233492245 Release Date 2026/06/27 List Price $11.72 Model Number 233492245
Category

“This book contains something for everyone, even the most seasoned C++ programmer.”- Guy Davidson, ISO C and C++ Standard Committee Voting Member“A solid foundation in memory management that quickly builds to advanced, modern C++ concepts.”- Yacob Cohen Arazi, Software Engineer at NVIDIA“This book challenged my thinking and changed how I design embedded C++ systems.”- Khalil Estell, ISO C++ Committee MemberKey FeaturesUse contemporary C++ features to enhance code safety and reliabilityDevelop a deeper understanding of memory management mechanisms in C++Write programs that adapt to the constraints of your chosen architecture or platformBook DescriptionMemory management in C++ isn't one-size-fits-all; real-time systems, games, and embedded applications each present unique memory constraints. This book delivers targeted solutions for each domain.Written by ISO C++ Standards Committee member, Patrice Roy, this guide covers fundamental concepts of object lifetime and memory organization to help you write simpler and safer programs. You’ll learn how to control memory allocation mechanisms, create custom containers and allocators, and adapt allocation operators to suit your specific requirements, making your programs smaller, faster, safer, and more predictable.From core principles to modern facilities that simplify your work, you’ll master memory management mechanics, build tailored memory solutions for your application needs, and measure their impact on your program’s behavior.By the end of this book, you’ll be able to write secure programs that handle memory optimally for your application domain. You will also have a strong grasp of both high-level abstractions for safer programs and low-level abstractions that allow detailed customization.What you will learnMaster the C++ object model to write more efficient and maintainable codeAutomate resource management to reduce manual errors and improve safetyCustomize memory allocation operators to optimize performance for specific applicationsDevelop your own smart pointers to manage dynamic memory with greater controlAdapt allocation behavior to meet the unique needs of different data typesCreate safe and fast containers to ensure optimal data handling in your programsUtilize standard allocators to streamline memory management in your containersWho this book is forThis book is for programmers who find C++ memory management challenging yet want to master it. It’s ideal for those seeking greater control over memory allocation to make their programs smaller, faster, and safer. Whether you're a seasoned C++ developer or transitioning from other languages, you'll gain insights into how C++ can enhance your programming. It’s especially valuable if you’re working in constrained environments, like embedded systems or game development. Prior experience with programming concepts, such as generic and concurrent programming, is helpful.Table of ContentsObjects, Pointers, and ReferencesThings to Be Careful WithCasts and cv-qualificationsUsing DestructorsUsing Standard Smart PointersWriting Smart PointersOverloading Memory Allocation OperatorsWriting a Naïve Leak DetectorAtypical Allocation MechanismsArena-Based Memory Management and Other OptimizationsDeferred ReclamationWriting Generic Containers with Explicit Memory ManagementWriting Generic Containers with Implicit Memory ManagementWriting Generic Containers with Allocator SupportContemporary Issues Read more

ISBN10 1805129805
ISBN13 978-1805129806
Language English
Publisher Packt Publishing
Dimensions 7.5 x 1 x 9.25 inches
Item Weight 1.66 pounds
Print length 434 pages
Publication date March 25, 2025

Correction of product information

If you notice any omissions or errors in the product information on this page, please use the correction request form below.

Correction Request Form

Customer ratings & reviews

4.6 out of 5
★★★★★
142 ratings | 58 reviews
How item rating is calculated
View all reviews
5 stars
84% (119)
4 stars
3% (4)
3 stars
2% (3)
2 stars
1% (1)
1 star
10% (14)
Sort by

There are currently no written reviews for this product.