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

  • CHATGPT - 101 Things You Must Know Today About ChatGPT and Generative AI - cover

    CHATGPT - 101 Things You Must...

    Lasse Rouhiainen

    • 0
    • 0
    • 0
    Are you ready to stay ahead in today's rapidly evolving business world? "CHATGPT - 101 Things You Must Know Today About ChatGPT and Generative AI" by international AI expert Lasse Rouhiainen is your definitive guide to unlocking the potential of AI for your business success. 
    This book is one of the most up-to-date resources available, covering the latest advancements in ChatGPT Canvas and OpenAI o1 models. 
    In this comprehensive book, you will learn:How Generative AI is Transforming Business: Explore real-world examples from industries like finance, healthcare, legal, human resources, retail, and more.Actionable Strategies: Discover practical ChatGPT prompts and tools that can immediately boost productivity, efficiency, and innovation in your organization.Step-by-Step Guidance: From creating your own AI-assistant to data analysis, this book covers how businesses of any size can leverage generative AI to thrive.Over 25 Essential AI Tools: Learn about more than 25 of the best AI tools that every business can use, including popular platforms like DALL·E 3, Microsoft Copilot, and Perplexity AI. These tools will enhance content creation, marketing, and many other business processes.101 Key Insights for Business Success: Packed with 101 essential things every business person should know about ChatGPT and AI, this book provides everything you need to leverage AI technology effectively. 
    🎁 Free video course: 
    When you purchase this book, you'll gain free access to a complimentary video course and a special bonus section filled with valuable resources, including additional tools, ChatGPT prompts, and other exclusive materials.
    Show book
  • TV Lobotomy The Scientific Truth About the Effects of Television - cover

    TV Lobotomy The Scientific Truth...

    Michel Desmurget

    • 0
    • 0
    • 0
    "TV unleashes the imagination and feeds intelligence." • "A child deprived of TV risks social isolation." • "TV dumbs you down." • "TV makes you obese." It seems that everything—and its opposite—has already been said about TV. But what is it really? How can we distinguish between the radical "No TV" of some and the supposedly entertaining virtues touted by others? Michel Desmurget, a doctor in neuroscience, has sifted through and synthesized thousands of research articles published over the last fifty years in the most rigorous international journals. The conclusion is unequivocal—we must stop watching television for good, whatever the program. All content, even that meant to teach, can never come close to any other learning method. The data is clear—television viewing is detrimental to school performance. For a child in elementary school, for example, every hour spent daily watching television increases the likelihood that he or she will one day leave the school system without any qualifications. For specialists, there is no doubt that television has a negative influence, not only on intellectual development but also on behavior. Thus, certain eating disorders (anorexia, bulimia) are related to a frantic consumption of—television programs! In short, watching television has an impact on our life expectancy. However, the harmful impact of this risk is largely underestimated, because of the large sector of the public exposed to television (more than 85% of Western households have at least one television set), and because of a debate on the subject that has become inaudible and confused. Moreover, the results of the research initiated by the big media groups on the subject remain "proprietary," i.e., closed to the general public. Believing that we is facing a real public health problem, Michel Desmurget wants to act as a responsible scientist—with a clear, concise and rigorously referenced book, the message cannot go unnoticed. Michel Desmurget is a doctor of neuropsychology. He attended several major American universities (MIT, Emory, UCSF) and is now a research director at INSERM in cognitive neuroscience. He is particularly interested in the problems of brain organization and plasticity. He is the author of the book TV Lobotomy (Max Milo, 2022), which is based in part on his personal history. Exasperated by having to constantly justify the choice not to have television at home—and to prevent his children from having access to it—and not to be seen as a sociopath in the eyes of those around him, he has done a massive job to argue his point. 
    This audiobook is read by a synthesized voice.
    Show book
  • Death Glitch - How Techno-Solutionism Fails Us in This Life and Beyond - cover

    Death Glitch - How...

    Tamara Kneese

    • 0
    • 0
    • 0
    An accessible yet erudite deep dive into how platforms are remaking experiences of death 
     
     
      
    Since the internet's earliest days, people have died and mourned online. In quiet corners of past iterations of the web, the dead linger. But attempts at preserving the data of the dead are often ill-fated, for websites and devices decay and die, just as people do. Death disrupts technologists' plans for platforms. It reveals how digital production is always collaborative, undermining the entrepreneurial platform economy and highlighting the flaws of techno-solutionism. 
     
     
      
    Big Tech has authority not only over people's lives but over their experiences of death as well. Ordinary users and workers, though, advocate for changes to tech companies' policies around death. Drawing on internet histories along with interviews with founders of digital afterlife startups, caretakers of illness blogs, and transhumanist tinkerers, the technology scholar Tamara Kneese takes listeners on a vibrant tour of the ways that platforms and people work together to care for digital remains. What happens when commercial platforms encounter the messiness of mortality?
    Show book
  • How Cyber Security Can Protect Your Business - A guide for all stakeholders - cover

    How Cyber Security Can Protect...

    Christopher Wright

    • 0
    • 0
    • 0
    Summary
    
    - Explains in easy-to-understand terms what executives and senior managers need to know and do about the ever-changing cyber threat landscape.
    - Gives strategic, business-focused guidance and advice relevant to C-suite executives.
    - Provides an effective and efficient framework for managing cyber governance, risk and compliance.
    - Explains what is required to implement an effective cyber security strategy.
    Description
    With high-profile cyber attacks, data breaches and fines for GDPR (General Data Protection Regulation) non-compliance hitting the headlines daily, businesses must protect themselves and their reputations, while reassuring stakeholders they take cyber security seriously.
    Cyber attacks are becoming more sophisticated and prevalent, and the cost of data breaches is soaring. In addition, new regulations and reporting requirements make cyber security a critical business issue.
    Board members and senior management must understand the threat landscape and the strategies they can employ to establish, implement and maintain effective cyber resilience throughout their organisation.
    How Cyber Security Can Protect your Business – A guide for all stakeholders provides an effective and efficient framework for managing cyber governance, risk and compliance, which organisations can adapt to meet their own risk appetite and synchronise with their people, processes and technology. It explains what is meant by governance, risk and compliance, how it applies to cyber security and what is required to implement an effective cyber security strategy.
    The pocket guide:
    
    - Gives readers a greater understanding of cyber governance, risk and compliance;
    - Explains what executives, senior managers and their advisors need to know and do about the ever-changing cyber threat landscape;
    - Provides context as to why stakeholders need to be aware of and in control of their organisation's cyber risk management and cyber incident response;
    - Gives guidance on building an appropriate and efficient governance framework that enables organisations to demonstrate their cyber approach in a non-technical, strategic, business-focused way;
    - Details an overview process to enable risk assessment, assess existing defence mitigations and provide a framework for developing suitable controls; and
    - Includes a checklist to help readers focus on their higher-priority cyber areas.
    Suitable for all managers and executives, this pocket guide will be of interest to non-cyber specialists, including non-executive directors, who may be required to review cyber arrangements. For cyber specialists, it provides an approach for explaining cyber issues in non-jargonistic, business-based language.
    Kick-start your journey to becoming cyber secure – buy this pocket guide today!
    Show book
  • Ultimate VMware NSX for Professionals - Leverage Virtualized Networking Security and Advanced Services of VMware NSX for Efficient Data Management and Network Excellence - cover

    Ultimate VMware NSX for...

    Vinay Aggarwal

    • 0
    • 0
    • 0
    Unleash the Power of NSX Datacenter for Seamless Virtualization and Unparalleled Security
    Book Description
    Embark on a transformative journey into the world of network virtualization with 'Ultimate VMware NSX for Professionals.' This comprehensive guide crafted by NSX experts, starts with an exploration of Software Defined Networking, NSX architecture, and essential components in a systematic approach. It then dives into the intricacies of deploying and configuring VMware NSX, unraveling key networking features through detailed packet walks. The book then ventures into advanced security realms—from Micro-segmentation to IDS/IPS, NTA, Malware Prevention, NDR, and the NSX Application Platform. Traverse through Datacenter Services, mastering NAT, VPN, and Load Balancing, with insights into the fundamentals of NSX Advanced Load Balancer. The exploration extends into NSX Multisite and NSX Federation, offering a detailed examination of onboarding, configuration, and expert tips for monitoring and managing NSX environments. To enrich your practical knowledge, immerse yourself in hands-on experiences with NSX Labs or VMware's complimentary Hands-on Labs, link provided in the book.
    Table of Contents
    1. Introduction to NSX Datacenter
    2. Deploying NSX Infrastructure
    3. Logical Switching
    4. Logical Routing – NSX Edge Nodes
    5. Logical Routing – NSX Gateways
    6. Logical Routing – VRF and EVPN
    7. Logical Bridging
    8. Security – Micro-segmentation
    9. Security – Advanced Threat Prevention
    10. Security – Network Detection and Response
    11. NSX DataCenter Services – 1
    12. NSX DataCenter Services – 2
    13. NSX Multisite Deployment
    14. Monitoring and Managing NSX
    Index
    Show book
  • A Pocket Guide to Pigeon Watching - Getting to Know the World's Most Misunderstood Bird - cover

    A Pocket Guide to Pigeon...

    Rosemary Mosco

    • 0
    • 0
    • 0
    Part field guide, part history, part ornithology primer, and altogether fun. 
     
     
     
    Fact: Pigeons are amazing, and until recently, humans adored them. We've kept them as pets, held pigeon beauty contests, raced them, used them to carry messages over battlefields, harvested their poop to fertilize our crops—and cooked them in gourmet dishes. Now, with A Pocket Guide to Pigeon Watching, listeners can rediscover the wonder. Equal parts field guide and quirky history, it covers behavior: Why they coo; how they flock; how they preen, kiss, and mate (monogamously); and how they raise their young (on chunky pigeon milk). Anatomy and identification, from Birmingham Roller to the American Giant Runt to the Scandaroon. Birder issues, like what to do if you find a baby pigeon stranded in the park. And our lively shared story together, including all the things we've taught them—Ping-Pong, for example. "Rats with wings?" Think again. 
     
     
     
    Pigeons coo, peck and nest all over the world, yet most of us treat them with indifference or disdain. So Rosemary Mosco, a bird-lover, science communicator, writer, and cartoonist, is here to give the pigeon's image a makeover, and to help every town- and city-dweller get closer to nature by discovering the joys of birding through pigeon-watching.
    Show book