Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Pricing
Podcast Image

CyberSecurity Summary

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

19 Aug 2025

Description

Provides an extensive overview of C++ memory management, covering both fundamental concepts and advanced techniques. It begins by explaining core ideas like objects, pointers, references, object lifetime, and the dangers of undefined behavior. The text then progresses to resource management using destructors and the RAII idiom, followed by a detailed exploration of smart pointers, including std::unique_ptr, std::shared_ptr, and std::weak_ptr. Furthermore, it examines overloading memory allocation operators such as new and delete, atypical allocation mechanisms, and arena-based memory management for performance optimization. Finally, the source discusses writing generic containers with both explicit and implicit memory management, allocator support, and contemporary C++ features related to memory handling.You can listen and download our episodes for free on more than 10 different platforms:https://linktr.ee/cyber_security_summaryGet the Book now from Amazon:https://www.amazon.com/Memory-Management-leaner-memory-management-techniques/dp/1805129805?&linkCode=ll1&tag=cvthunderx-20&linkId=8c5b3a91d4f4dd60871563eeede8bbaf&language=en_US&ref_=as_li_ss_tlDiscover our free courses in tech and cybersecurity, Start learning today:https://linktr.ee/cybercode_academy

Audio
Featured in this Episode

No persons identified in this episode.

Transcription

This episode hasn't been transcribed yet

Help us prioritize this episode for transcription by upvoting it.

0 upvotes
🗳️ Sign in to Upvote

Popular episodes get transcribed faster

Comments

There are no comments yet.

Please log in to write the first comment.