Книга C++ Memory Management Patrice Roy

C++ Memory Management

Автор: Patrice Roy, Michael Wong
Език: Английски език
Корици: С меки корици
Издател: Packt Publishing
Наличност: Външен склад
Изпращаме след 9-15 дни
39.89 78.01 лв
Harness the power of C++ to build smaller, faster, safer, and more predictable programs using the la...

Информация за книгата

Език
Английски език
Корици
Книга - С меки корици
Издадена
2025
страници
434
EAN
9781805129806
ISBN
1805129805
Enbook ID
48168530
Издател
Теглоt
739
Размери
191 x 235 x 22

Пълно описание

Harness the power of C++ to build smaller, faster, safer, and more predictable programs using the latest techniques and best practices to optimize performance and ensure reliability in your software development projects

Key Features:

- Use contemporary C++ features to enhance code safety and reliability

- Develop a deeper understanding of memory management mechanisms in C++

- Write programs that adapt to the constraints of your chosen architecture or platform

- Purchase of the print or Kindle book includes a free PDF eBook

Book Description:

C++ programmers often face challenges in allocating and managing memory efficiently, especially given the diverse needs of real-time systems, embedded systems, games, and conventional desktop applications. This book offers a targeted approach to address the unique memory constraints of each domain.

Written by an 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.

Starting with core principles of memory management, this book introduces modern facilities that simplify your work and then dives into memory management mechanics, building solutions for specific application needs, and measuring 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 Learn:

- Master the C++ object model to write more efficient and maintainable code

- Automate resource management to reduce manual errors and improve safety

- Customize memory allocation operators to optimize performance for specific applications

- Develop your own smart pointers to manage dynamic memory with greater control

- Adapt allocation behavior to meet the unique needs of different data types

- Create safe and fast containers to ensure optimal data handling in your programs

- Utilize standard allocators to streamline memory management in your containers

Who this book is for:

This 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 Contents

- Objects, Pointers, and References

- Things to Be Careful With

- Casts and cv-qualifications

- Using Destructors

- Using Standard Smart Pointers

- Writing Smart Pointers

- Overloading Memory Allocation Operators

- Writing a Naïve Leak Detector

- Atypical Allocation Mechanisms

- Arena-Based Memory Management and Other Optimizations

- Deferred Reclamation

- Writing Generic Containers with Explicit Memory Management

- Writing Generic Containers with Implicit Memory Management

- Writing Generic Containers with Allocator Support

- Contemporary Issues

- Annexure: Things You Should Know

Може също да ви хареса

43.80 85.67 лв
48.17 94.21 лв

Becoming Human

Michael Tomasello
25.44 49.75 лв

Das Kapital

Karl Marx
10.88 21.29 лв
33.11 64.77 лв
39.44 77.13 лв
21.07 41.21 лв
125.85 246.14 лв
107.43 210.12 лв
18.06 35.32 лв
62.07 121.39 лв
29.15 57.01 лв
148.88 291.18 лв

MYSTIQUE OF MAGDALENE

ROSE CHERYL YAMBRACH
21.72 42.49 лв
21.12 41.31 лв
10.58 20.70 лв
4.71 9.22 лв

Ew, It's Beautiful

BARKMAN JOSHUA
12.79 25.02 лв

Клиенти, които купиха тази книга, купиха също

C++ in Embedded Systems

Amar Mahmutbegović
38.08 74.48 лв
39.89 78.01 лв

C++ Software Design

Klaus Iglberger
58.10 113.64 лв
47.21 92.34 лв
51.83 101.37 лв

Optimized C++

Kurt Guntheroth
59.16 115.70 лв
60.06 117.47 лв
56.40 110.30 лв
78.68 153.88 лв
87.71 171.55 лв
59.16 115.70 лв

C++ Templates

David Vandevoorde
74.76 146.22 лв
43.05 84.20 лв

Effective C++

Scott Meyers
44.91 87.83 лв
79.88 156.24 лв
41.24 80.66 лв

C++ Lambda Story

Bartlomiej Filipek
18.71 36.60 лв

Modern C++ Design

Andrei Alexandrescu
53.99 105.59 лв

Exceptional C++

Herb Sutter
44.91 87.83 лв

Beautiful C++

Kate Gregory
38.08 74.48 лв
22.43 43.86 лв

Real-Time C++

Christopher Kormanyos
51.73 101.18 лв
27.24 53.28 лв
25.99 50.83 лв