Register for free!
1611 users online right now

[x]

Explore: Memory Management, C++

C++ usually doesn't provide automatic garbage collection. Some C++ features, and much C++ code is poorly suited for AGC, so programmers must explicitly deal with memory management issues, which can get quite difficult and needs much time....
This page was last updated on October 12th, 2008
Memory Management (from C++)
Canadian Content » Computers » Programming » Languages » C++ » Memory_Management »
Memory Hygiene in C and C++: Safe Programming with Risky DataMemory Hygiene in C and C++: Safe Programming with Risky Data
Memory management is scary. It should be: A lot can go wrong--often very wrong. But a moderately experienced C or C++ programmer can learn and understand memory hazards completely.
A Garbage Collection Framework for C++A Garbage Collection Framework for C++
An article on using garbage collection through the use of smart pointers.
A Garbage Collection Framework for C++, Part IIA 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.
Smart Pointers in C++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.
C++ Memory Management: From Fear to Triumph, Part 2C++ Memory Management: From Fear to Triumph, Part 2
This article explains design principles that will help keeping memory management error out of C++ code.
C++ Memory Management: From Fear to Triumph, Part 3C++ Memory Management: From Fear to Triumph, Part 3
Presents a list of simple, powerful techniques that can be used to deal with memory in C++ programs.
The Rule of The Big TwoThe 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.
Effective C++ Memory AllocationEffective 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.
Using auto_ptr EffectivelyUsing 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.
To New, Perchance to Throw, Part 1To 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.
Smart Pointers: What, Why, Which?Smart Pointers: What, Why, Which?
Explains what smart pointers are, why they should be used, and which one should be used.
C++ Memory and Resource ManagementC++ 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.
To New, Perchance to Throw, Part 2To 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.
Memory Management in C++Memory Management in C++
Covers the design of a global memory manager that is as fast and space-efficient as per-class allocators.
Containers in Memory: How Big Is Big?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.
C++ Memory Management: From Fear to Triumph, Part 1C++ 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.
C++ Tutorial - Dynamic Memory AllocationC++ Tutorial - Dynamic Memory Allocation
This tutorial covers dynamic memory allocation in C++ for both single objects and arrays of objects. A common beginner bug, dangling pointers, is also described.
Smart Pointers in BoostSmart 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).
Counted Body TechniquesCounted 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.
Smart PointersSmart 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.

C++ >> Memory Management yielded other results on Canadian Content:


ManageEngine OpManager Free Edition - Download - Manage Apps, DB, WAN, LAN, Switches, Routers.
Manage Apps, DB, WAN, LAN, Switches, Routers.. Free download of ManageEngine OpManager Free Edition
Memory Zipper Plus Download - Windows Tweaks
Memory Zipper Plus: Memory Zipper Plus, the memory optimization and management tool. Memory Zipper
Windows Tweaks - Page 2
Little programs and utilities for tweaking and speeding up Windows.. - Page 2
Software: Windows Tweaks
Little programs and utilities for tweaking and speeding up Windows.
AudioEdit Deluxe Download - Backup Utilities
AudioEdit Deluxe: Visual audio editor and converter software.


--