Skip to content
TrackPodcasts
artsAug 19, 202530:56pending

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

About this episode

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_summary

Get 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_tl


Discover our free courses in tech and cybersecurity, Start learning today:
https://linktr.ee/cybercode_academy

Get every episode summarized

Each time CyberSecurity Summary publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.

Email me new episodes

Free for 3 shows. No card needed.

No transcript yet

This episode has not been transcribed. Request it and it moves to the front of the queue.

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

CyberSecurity Summary

0:00
30:56

More episodes

More from CyberSecurity Summary

View all episodes →