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

CyberSecurity Summary - Un pódcast de CyberSecurity Summary

Categorías:

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_tl

Visit the podcast's native language site