Re: C Garbage collector

2001-02-26 Thread Hong Zhang
Almost every GC algorithm has its advantages and disadvantages. Real-time gc normally carry high cost, both in memory and in cpu time. I believe that options is very important. We should make Perl 6 runtime compaible with multiple gc schemes, possibly including reference counting. However, it wil

Re: C Garbage collector

2001-02-26 Thread Karl M. Hegbloom
Do you folks know anything about the garbage collector in rScheme http://www.rscheme.org/>? They say it's got a "real time generational" garbage collector. It must be worth looking over. -- mailto: (Karl M. Hegbloom) [EMAIL PROTECTED] http://www.microsharp.com phone://USA/WA/360-260-2066

RE: C Garbage collector

2001-02-23 Thread wiz
Dear Hong, This was actually a reply to a posted link for a C/C++ replacement GC (http://www.hpl.hp.com/personal/Hans_Boehm/gc/), not the default GC from any particular C package. Grant M.

Re: C Garbage collector

2001-02-23 Thread Hong Zhang
I don't quite understand what is the intention here. Most of C garbage collector is mark sweep based. It has all common problems of gc, for example non-deterministic finalization (destruction), or conservativeness. If we decide to use GC for Perl, it will be trivial to implement a simple

RE: C Garbage collector

2001-02-21 Thread NeonEdge
I agree with Damien that the Sun description sounds less portable, which we all know in the Perl world is crucial (>80 ports)(although Sun mentions 16-bit DOS/Win). Any GC implementation needs to try to 'not break' the existing stuff. Other questions are somewhat dependent upon what language is us

Re: C Garbage collector

2001-02-21 Thread Ask Bjoern Hansen
On Wed, 21 Feb 2001, Alan Burlison wrote: > Alan Burlison wrote: > > > I've attached the HTML > > Well it was there when I sent it... does this list strip attachments or > something? yes, it does. It is usually just misconfigured mailers or spam. -- ask bjoern hansen -

Re: C Garbage collector

2001-02-20 Thread Damien Neil
On Wed, Feb 21, 2001 at 12:25:10AM +, Alan Burlison wrote: > Shame it only works with the Sun compilers. See also Boehm's garbage collector, which is rather more portable: http://www.hpl.hp.com/personal/Hans_Boehm/gc/ "The collector uses a mark-sweep algorithm. It provides incremental

C Garbage collector

2001-02-20 Thread Alan Burlison
Documentation excerpt: With Sun WorkShop Memory Monitor, you can program without calling free() or delete. Determining when to call free() or delete is difficult. Studies indicate that 30% to 40% of programmer time is spent on memory management in C or C++ programs. Failing to release memory cau

Re: C Garbage collector

2001-02-20 Thread Alan Burlison
Alan Burlison wrote: > I've attached the HTML Well it was there when I sent it... does this list strip attachments or something? Here is is as badly-formatted text - sorry! Alan Burlison Appendix A: How Sun WorkShop Memory Monitor Works Memory management in C/C++ is both time consuming an