Connecting Tech Pros Worldwide Help | Site Map

C++ Memory Management Innovation: GC Allocator

 
LinkBack Thread Tools Search this Thread
  #1  
Old June 27th, 2008, 04:38 PM
xushiwei
Guest
 
Posts: n/a
Default C++ Memory Management Innovation: GC Allocator

Most of the C++ programmers do not benefit from "Garbage Collection"
technique (GC). They are sick of deleting objects but have to do this.
There are some C/C++ memory GC implementations, but they are complex
and are not widely used.

I am going to introduce a new memory management technique named "GC
Allocator". "GC Allocator" isn't an implementation, but a concept.
Now, we have two "GC Allocator" implementations, named "AutoFreeAlloc"
and "ScopeAlloc".

This article consists of three parts:

1. What is GC Allocator?
2. GC Allocator implementations: ScopeAlloc and AutoFreeAlloc
3. Applications based on GC Allocator

For more information, see http://www.codeproject.com/KB/cpp/gc-allocator.aspx

  #2  
Old June 27th, 2008, 04:38 PM
Sam
Guest
 
Posts: n/a
Default Re: C++ Memory Management Innovation: GC Allocator

xushiwei writes:
Quote:
Most of the C++ programmers do not benefit from "Garbage Collection"
technique (GC).
This is true. Garbage collection is a tool for the lazy, and is of no
benefit to professional programmers.
Quote:
They are sick of deleting objects but have to do this.
No, we're not. If you do not know how to keep track of your objects, you
should not be developing mission-critical software.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBIDcYLx9p3GYHlUOIRAn/xAJ99XDH72pdxHkgiRwErTeKxBXljOgCZAZFy
tqvbnVUHTqQbbsO9jG78fus=
=rHPD
-----END PGP SIGNATURE-----

  #3  
Old June 27th, 2008, 04:38 PM
Matthias Buelow
Guest
 
Posts: n/a
Default Re: C++ Memory Management Innovation: GC Allocator

Sam wrote:
Quote:
This is true. Garbage collection is a tool for the lazy, and is of no
benefit to professional programmers.
This is true. Compilers and symbolic assemblers are tools for the lazy,
and are of no benefit to professional programmers.
Quote:
If you do not know how to keep track of your objects, you
should not be developing mission-critical software.
If you do not know your opcodes by heart, you should not be developing
mission-critical software.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.