C++ Memory Management. Design leaner and safer C++ code using proven memory-management techniques - Helion

Tytuł oryginału: C++ Memory Management. Design leaner and safer C++ code using proven memory-management techniques
ISBN: 9781805128243
Format: ebook
Księgarnia: Helion
Cena książki: 119,00 zł
Książka będzie dostępna od marca 2025
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 lifetimes and memory organization to help you write simpler and safer programs. You’ll learn to control memory allocation mechanisms, create custom containers and allocators, and adapt allocation operators to suit your specific requirements, making your programs smaller, faster, more predictable, and safer.
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 write secure programs that handle memory optimally for your application domain and have a strong grasp of both high-level abstractions for safer programs and master low-level abstractions for detailed customization.
Zobacz także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
C++ Memory Management. Design leaner and safer C++ code using proven memory-management techniques eBook -- spis treści
- 1. Objects, pointers, and references
- 2. Things to be Careful With
- 3. Casts and cv-qualifications
- 4. Using Destructors
- 5. Using Standard Smart Pointers
- 6. Writing Smart Pointers
- 7. Overloading Memory Allocation Operators
- 8. Writing a Naïve Leak Detector
- 9. Atypical Allocation Mechanisms
- 10. Arena-Based Memory Management and Other Optimizations
- 11. Deferred Reclamation
- 12. Writing Generic Containers with Explicit Memory Management
- 13. Writing Generic Containers with Implicit Memory Management
- 14. Writing Generic Containers with Allocator Support
- 15. Contemporary Issues
- 16. Annexure