Memory management



Michael O'Reilly writes:
 > As any thought been given to using a conservative garbage collector or
 > something similar? (i.e. http://reality.sgi.com/employees/boehm_mti/gc.html) 
I do not think you will be able to sell this to C programmers.
You can always do gnome progamming in scheme if you prefer.

 > The down side of the GC is the possible 'pauses' for garbage
 > collection, but even a 100ms pause every few mins isn't a real
 > consideration for an interactive program.

There are garbage collection algorithms which operate by advancing 
a few steps on each new allocation of memory. These do not result 
in significant pauses. However, no grabage collection algorithm is
ever as efficient as throwing away garbage when you know that it
is garbage.

Felix



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]