LIBRISTO
LIBROAMANTO
mandatory
Become part of a community of book lovers from all over the world and get access to a whole bunch of benefits. Create an account for free
0
Free delivery for purchases over 19 990 Ft
DPD courier 1 190 Ft Post 1 795 Ft Post 1 690 Ft Post 1 690 Ft GLS point 1 390 Ft FoxPost 1 190 Ft Packeta point 1 190 Ft DPD point 990 Ft GLS courier 1 790 Ft

Free shipping on orders over 19,990 Ft via Packeta, Fox Post Box, and DPD Collection Point

Mastering C++ Memory

From Pointers to Smart Pointers, Allocation, Debugging, and Optimization

Language EnglishEnglish
Book Paperback
Book Mastering C++ Memory Alyssa Fenn
Libristo code: 50614738
Publishers Independently published, November 2025
Mastering C++ Memory: From Pointers to Smart Pointers, Allocation, Debugging, and OptimizationModern... Full description
? points 57 b
8 346 Ft
In stock at our supplier Shipping in 9-15 days

30-day return policy


Customers also purchased


L'Assistente del Milionario Sierra Rose / E-book Adobe ePub DRM
common.buy 1 013 Ft
NAUGHTY ORACLE NAOMI BETH / Book Hardback
common.buy 9 637 Ft

Mastering C++ Memory: From Pointers to Smart Pointers, Allocation, Debugging, and Optimization

Modern C++ gives developers more power, more control, and more performance than almost any other language - but only if you understand one thing deeply: memory.
Memory is where performance is won or lost. It is where bugs hide. It is where applications leak, crash, fragment, stall, or behave unpredictably. And it is the one area where great C++ developers always stand apart.

Mastering C++ Memory is a complete, practical, and modern guide to understanding how memory really works in C++ - from the fundamentals of pointers to the most advanced techniques used in high-performance, real-time, and multi-threaded systems. Every concept is explained using clear examples, modern C++11-C++23 features, real debugging tools, and step-by-step projects that help you build production-ready memory systems.

Whether you're building a game engine, optimizing a legacy codebase, writing embedded software, or preparing for professional C++ roles, this book gives you the knowledge and confidence to write fast, safe, leak-free, and maintainable code.


What You Will Learn
  • How the C++ memory model really works (stack, heap, static storage, TLS, object lifetimes).

  • Correct, idiomatic use of raw pointers, references, ownership, and pointer arithmetic.

  • How to use new, delete, malloc, free, and placement new safely and effectively.

  • Smart pointers (unique_ptr, shared_ptr, weak_ptr) and when to choose each one.

  • RAII patterns, scope-based cleanup, exception safety, and move semantics.

  • Custom allocators, memory pools, arenas, slab allocators, and small-object optimization.

  • Memory debugging with Valgrind, ASan, MSVC tools, and real-world diagnostic workflows.

  • Cache-aware design, data layout optimizations, false sharing avoidance, and low-latency practices.

  • Thread-safe allocation strategies, atomic memory orderings, lock-free reclamation, and hazard pointers.

  • How to modernize legacy systems and migrate them to safe, efficient C++17/20/23 idioms.

  • Real projects: build a custom allocator, implement a smart pointer, optimize a subsystem, and debug a memory-heavy application.


Who This Book Is For
  • Intermediate and advanced C++ developers

  • Game programmers and engine developers

  • Systems, embedded, and real-time engineers

  • Performance-focused backend and infrastructure developers

  • Students and professionals preparing for C++ interviews

  • Anyone who wants to write safer, faster, more modern C++ code


Why This Book Is Different

This is not a theoretical overview. This is a full, practical, engineer-focused handbook that shows you:

  • How memory is structured

  • How memory is managed

  • How memory leaks occur

  • How tools detect them

  • How to optimize memory for real systems

Each chapter builds on real examples, modern techniques, and industry-level patterns used in top-performing C++ systems.


A Complete Guide for Modern C++ Developers

By the end of this book, you will be able to:

  • Design memory-safe APIs

  • Use advanced allocation strategies

  • Debug complex leaks and corruption

  • Ensure thread safety across cores

  • Optimize performance down to the cache line

  • Write C++ that scales, performs, and behaves predictably

Whether you're writing small utilities or highly-concurrent low-latency code, this book gives you the deep memory mastery every modern C++ developer needs.

Actress & Polyglot
EWA KASP for
Play video
Ewa Kasp
Libristo has the largest selection of foreign-language books. That’s why I buy my books there.

About the book

Full name Mastering C++ Memory
Author Alyssa Fenn
Language English
Binding Book - Paperback
Date of issue 2025
Number of pages 334
EAN 9798275678352
Libristo code 50614738
Weight 582
Dimensions 178 x 254 x 18
Give this book today
It's easy
1 Add to cart and choose Deliver as present at the checkout 2 We'll send you a voucher 3 The book will arrive at the recipient's address

You might also be interested in


Top
C++ Memory Management Patrice Roy / Book Paperback
common.buy 15 726 Ft
Top
Crafting Interpreters Robert Nystrom / Book Paperback
common.buy 17 637 Ft
Top
Algorithm Design Manual Skiena / Book Paperback
common.buy 23 401 Ft
C++ Data Structures and Algorithms Wisnu Anggoro / Book Paperback
common.buy 18 983 Ft
Top
C++ Software Design Klaus Iglberger / Book Paperback
common.buy 23 387 Ft

Login

Log in to your account. Don't have a Libristo account? Create one now!

 
mandatory
mandatory

Don’t have an account? Discover the benefits of having a Libristo account!

With a Libristo account, you'll have everything under control.

Create a Libristo account