|
Top: Computers: Programming: Languages: C++: Memory_Management:
Memory Management (22)
See Also:
Regular Links:
C++ Memory Management: From Fear to Triumph, Part 1 
This article discusses C++ in the context of several other popular languages. It also describes the kinds of memory errors that can occur in C++ programs.
http://www.linuxdevcenter.com/pub/a/linux/2003/05/08/cpp_mm-1.html
C++ Memory and Resource Management 
Stephen Dewhurst discusses how the various features of C++ are used together in memory management, how they sometimes interact in surprising ways, and how to simplify their interactions.
http://www.informit.com/articles/article.asp?p=30642
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.
http://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.
http://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.
http://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.
http://www.cantrip.org/wave12.html
Smart Pointers 
Andrei Alexandrescu navigates through the sometimes treacherous waters of using smart pointers, which imitate built-in pointers in syntax and semantics but perform a host of additional tasks that built-in pointers can't.
http://www.informit.com/articles/article.asp?p=25264
Smart Pointers in Boost 
Introduces smart pointers and takes a look at Boosts various smart pointer templates (scoped_ptr, scoped_array, shared_ptr, and shared_array).
http://www.ddj.com/dept/cpp/184401507
Smart Pointers in C++ 
Andrei Alexandrescu discusses smart pointers, from their simplest aspects to their most complex ones and from the most obvious errors in implementing them to the subtlest ones--some of which also happen to be the most gruesome.
http://www.informit.com/articles/article.asp?p=31529
Smart Pointers: What, Why, Which? 
Explains what smart pointers are, why they should be used, and which one should be used.
http://ootips.org/yonat/4dev/smart-pointers.html
The Rule of The Big Two 
Matthew and Bjorn update the well-known Rule of The Big Three, explaining which one of those member functions is not always needed.
http://www.artima.com/cppsource/bigtwo.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.
http://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.
http://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.
http://www.gotw.ca/publications/using_auto_ptr_effectively.htm
|
|
Last Updated: 2007-05-05 15:13:21
|