Join us on a literary world trip!
Add this book to bookshelf
Grey
Write a new comment Default profile 50px
Grey
Subscribe to read the full book or read the first pages for free!
All characters reduced
C++ Memory Management - Write leaner and safer C++ code using proven memory-management techniques - cover

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

Patrice Roy

Publisher: Packt Publishing

  • 0
  • 0
  • 0

Summary

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.
Available since: 03/25/2025.
Print length: 442 pages.

Other books that might interest you

  • The Physics of NASCAR - The Science Behind the Speed - cover

    The Physics of NASCAR - The...

    Diandra Leslie-Pelecky, Ray...

    • 0
    • 0
    • 0
    Every NASCAR fan—at one time or another—asks the same question: Why isn't my favorite driver winning? This is your chance to discover how much more there is to NASCAR than "Go fast, turn left, and don't crash." If you've ever wondered why race cars don't have mufflers, how "bump drafting" works, or what in the world "Let's go up a pound on the right rear and add half a round of wedge" means, The Physics of NASCAR is for you. 
     
     
     
    In this fast-paced investigation into the adrenaline-pumping world of NASCAR, a physicist with a passion uncovers what happens when the rubber hits the road and 800-horsepower vehicles compete at 190 miles per hour only inches from one another. 
     
     
     
    Diandra Leslie-Pelecky tells her story in terms anyone who drives a car—and maybe occasionally looks under the hood—can understand. How do drivers walk away from serious crashes? How can two cars travel faster together than either car can on its own? How do you dress for a 1800°F gasoline fire? In simple yet detailed, high-octane prose, this is the ultimate thrill ride for armchair speed demons, auto science buffs, and NASCAR fans at every level of interest. 
     
     
     
    Listeners, start your engines.
    Show book
  • Fundamentals of Data Engineering - Designing and Building Scalable Data Systems for Modern Applications - cover

    Fundamentals of Data Engineering...

    Brian Murray

    • 0
    • 0
    • 0
    This book will provide a comprehensive introduction to the field of data engineering, covering key topics such as data storage and retrieval, data pipelines, data governance and security, data infrastructure, and data engineering tools and technologies. Through a combination of theoretical concepts and real-world examples, readers will gain a deep understanding of how to design and build scalable data systems for modern applications. This book will be an essential resource for anyone interested in pursuing a career in data engineering or looking to expand their knowledge in this exciting and rapidly evolving field.
    Show book
  • Puzzle Your Way to Engineering Success - "Elevate your engineering exam prep! Dive into impactful audio lessons for ultimate success" - cover

    Puzzle Your Way to Engineering...

    Cyrus Pendleton

    • 0
    • 0
    • 0
    'Puzzle Your Way to Engineering Success' 
    ⭐⭐ Simplified Guide & Explanations Included ⭐⭐ 
    Are you ready to advance in your career and strengthen your knowledge for achieving greater success?  
    Looking for an all-in-one guide that encompasses everything you need to inspire your team and enhance systems? 
    Your search is over! 
    This audiobook is your essential companion for enriching your understanding, applying your skills, and participating in hands-on exercises. With this material, you're set for success. 
    Updated to reflect the latest exam structure. 
    Key features of this comprehensive guide: 
    - In-depth insights into enhancing team performance and achieving success 
    - Clear explanations of the principles behind inspiring your team 
    - Effective strategies for preparing and executing successful projects 
    This guide stands out through its thorough coverage, providing the necessary tools for your achievement. Concepts are explored in depth, ensuring clarity and comprehension. 
    Please note that this guide operates independently and is not connected to any official certification entity. 
    Crafted with a logical structure and accessible language, our guide ensures smooth transitions between topics, eliminating complex jargon in favor of clear, precise, and technically accurate content. 
    So, why wait? Click the BUY NOW button, secure your audiobook, and embark on your journey toward engineering success! 
    Get ready to transform your career and inspire your team with this essential resource!
    Show book
  • Statistics and Faith - A Christian Guide to Telling the Truth with Data - cover

    Statistics and Faith - A...

    Jason Wilson

    • 0
    • 0
    • 0
    Bringing Integrity to the Stories Numbers Tell
    When we tell stories with numbers, we depend on the field of statistics—but how do we know that those stories are true? Almost everything in life is connected to data, and that data can help us make sense of truth in a world that feels increasingly challenging to navigate as Christians.
    But in a world where we are told to "do our own research," it can be nearly impossible to know whether we're just gravitating toward stories that confirm our own untested biases, or whether we're analyzing the data in a way that is illuminating truth.
    Exploring a range of contemporary topics, professor of statistics Jason Wilson shows both non-experts and experts alike that statistics has something to say when it relates to the polarizing issues that we face today. Exploring topics such as gambling, Covid, and media bias, Wilson shows that the ways we collect, organize, analyze, and interpret data have something to say in conversation with the Christian faith.
    In Statistics and Faith, you'll find
    
    - examinations of contemporary issues using statistical concepts, tools, and theories;
    - case studies from history that show how statistics can be used in ways that are helpful or harmful;
    - application chapters based on over fifteen years of research; and
    - reflection questions to help you explore how to do statistics with integrity.
    
    
    This book is ideal for professors seeking to help students explore the history and application of statistics from a Christian worldview as well as for Christians who are curious about how we understand truth through numbers. It serves as an ideal supplementary text for statistics courses and other disciplines that incorporate statistical methods, and it offers an insightful perspective on how statistics in conversation with Christian faith can speak to today's polarizing issues, empowering readers to discern truth through data in a noisy world.
    Show book
  • The Farmer's Code - How Legacies Are Built - cover

    The Farmer's Code - How Legacies...

    Mike C. Young

    • 0
    • 0
    • 0
    The Farmer’s Code takes you on a hero’s journey of self-development. It follows a path of transformation and growth to help you become your true, highest self. This journey will lead to a greater understanding of the self and a deeper connection to one’s own values and core principles, which paves the way for a long-lasting legacy.  Legacies provide a roadmap for future generations, showing those who follow your footsteps what is possible as they strive to reach their full potential. Filled with personal stories of the struggles and triumphs of one American farming family, the Code shows how legacies are about more than just personal fulfillment. They can have a profound impact on the lives of others by serving as a guiding light to those who are seeking a better way to live. Just as airline passengers are instructed to see to their own oxygen masks first in the event of an emergency before helping others, legacy building has to start with the self. When you are safe, secure, and strong, you are in a much better position to turn outward to help others. It is then that you can help address societal challenges, advance knowledge and innovation, promote social change, or support the important causes you see in your community.  The Farmer’s Code should spark aspirations, ignite passion, and encourage everyone to strive for greatness. By considering the lasting impact you can make, you will be able to live more purposefully and leave a more positive imprint on the world.
    Show book
  • The Apple II Age - How the Computer Became Personal - cover

    The Apple II Age - How the...

    Laine Nooney

    • 0
    • 0
    • 0
    Skip the iPhone, the iPod, and the Macintosh. If you want to understand how Apple Inc. became an industry behemoth, look no further than the 1977 Apple II. Designed by the engineer Steve Wozniak and hustled into the marketplace by his Apple cofounder Steve Jobs, the Apple II became one of the most prominent personal computers of this dawning industry. 
     
     
      
    The Apple II was a versatile piece of hardware, but its most compelling story isn't found in the feat of its engineering, the personalities of Apple's founders, or the way it set the stage for the company's multibillion-dollar future. Instead, historian Laine Nooney shows, what made the Apple II iconic was its software. In software, we discover the material reasons people bought computers. The story of personal computing in the United States is not about the evolution of hackers—it's about the rise of everyday users. 
     
     
      
    Recounting a constellation of software creation stories, Nooney offers a new understanding of how the hobbyists' microcomputers of the 1970s became the personal computer we know today. The Apple II Age offers an unprecedented look at the people, the industry, and the money that built the microcomputing milieu—and why so much of it converged around the pioneering Apple II.
    Show book