
|
|
|
|
Home / Computers / Programming / Languages / C++ / Memory Management
|
|
|
|
Web Sites
|
- A Garbage Collection Framework for C++ - An article on using garbage collection through the use of smart pointers.
www.codeproject.com/cpp/garbage_collect.asp?print=true
- A Garbage Collection Framework for C++, Part II - This article deals with refactoring the code originally presented in part 1 in order to allow polymorphic types to be used.
www.codeproject.com/cpp/garbage_collect2.asp?print=true
- Containers in Memory: How Big Is Big? - Answers the question of how much memory the various standard containers use to store the same number of objects of the same type T.
www.gotw.ca/publications/mill14.htm
- Counted Body Techniques - Introduces two key concepts: the use of a generic requirements based approach to simplify and adapt the use of the counted body pattern and the ability to dynamically and non-intrusively add capabilities to fixed types using the runtime mixin pattern.
www.boost.org/more/count_bdy.htm
- Effective C++ Memory Allocation - Using several features of the language, this article presents a framework for resource allocation which is temporally deterministic, provides for callback, provides memory pools, and can provide for deadlock prevention.
www.embedded.com/1999/9901/9901feat2.htm
- Memory Management in C++ - Covers the design of a global memory manager that is as fast and space-efficient as per-class allocators.
www.cantrip.org/wave12.html
- Smart Pointers: What, Why, Which? - Explains what smart pointers are, why they should be used, and which one should be used.
ootips.org/yonat/4dev/smart-pointers.html
- The Object Ownership Method of Efficient C++ Memory Management - Discusses and illustrates the "object ownership" method for sharing objects without adding run-time constraints.
www.amc.com/techcenter/whitepapers/object-own.html
- To New, Perchance to Throw, Part 1 - Explains why a class that provides its own class-specific operator new(), or operator new[](), should also provide corresponding class-specific versions of plain new, in-place new, and nothrow new.
www.gotw.ca/publications/mill15.htm
- To New, Perchance to Throw, Part 2 - Delves deeper into the question of what operator new() failures mean, and how best to detect and handle them.
www.gotw.ca/publications/mill16.htm
- Using auto_ptr Effectively - Explains why auto_ptr neatly solves common C++ design and coding problems, and why using it can lead to more robust code.
www.gotw.ca/publications/using_auto_ptr_effectively.htm
|
|
|
|
|