نام کتاب
C++ Memory Management

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

Patrice Roy

Paperback434 Pages
PublisherPackt
Edition1
LanguageEnglish
Year2025
ISBN9781805129806
260
A5994
انتخاب نوع چاپ:
جلد سخت
634,000ت
0
جلد نرم
574,000ت
0
طلق پاپکو و فنر
584,000ت
0
مجموع:
0تومان
کیفیت متن:اورجینال انتشارات
قطع:B5
رنگ صفحات:سیاه و سفید
پشتیبانی در روزهای تعطیل!
ارسال به سراسر کشور

#C++

#Memory_Management

توضیحات

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


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

  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: Things You Should Know


About the Author

Patrice Roy has been playing with C++ professionally, for pleasure, or (mostly) both for over 30 years. After a few years doing R&D and working on military flight simulators, he moved on to academics and has taught computer science since 1998. Since 2005, he has been involved more specifically in helping graduate students and professionals from the fields of real-time systems and game programming develop the skills they need to face today's challenges. Patrice has been a participating member of the ISO C++ Standards Committee since late 2014. He has five children, and his wife ensures that their house is home to a continuously changing number of cats, dogs, birds, and other animals.

دیدگاه خود را بنویسید
نظرات کاربران (0 دیدگاه)
نظری وجود ندارد.
کتاب های مشابه
++C
1,029
The Art of Writing Efficient Programs
605,000 تومان
++C
380
Asynchronous Programming with C++
564,000 تومان
++C
260
C++ Memory Management
574,000 تومان
++C
1,074
Professional C++
1,833,000 تومان
++C
969
Clean C++20
639,000 تومان
++C
1,034
Concurrency with Modern C++
1,007,000 تومان
++C
902
Deep Belief Nets in C++ and CUDA C: Volume 3
324,000 تومان
++C
225
Borland C++ Builder
1,631,000 تومان
++C
1,251
Hands-On System Programming with C++
821,000 تومان
++C
1,373
Test-Driven Development with C++
613,000 تومان
قیمت
منصفانه
ارسال به
سراسر کشور
تضمین
کیفیت
پشتیبانی در
روزهای تعطیل
خرید امن
و آسان
آرشیو بزرگ
کتاب‌های تخصصی
هـر روز با بهتــرین و جــدیــدتـرین
کتاب های روز دنیا با ما همراه باشید
آدرس
پشتیبانی
مدیریت
ساعات پاسخگویی
درباره اسکای بوک
دسترسی های سریع
  • راهنمای خرید
  • راهنمای ارسال
  • سوالات متداول
  • قوانین و مقررات
  • وبلاگ
  • درباره ما
چاپ دیجیتال اسکای بوک. 2024-2022 ©