Re: Garbage Collection

new topic     » goto parent     » topic index » view thread      » older message » newer message

Chris Burch wrote:
> I don't think it matters what sort of garbage collection you use, as
> its lightning fast, and no one realises its going on, and there are no 
> memory leaks or lock ups etc. ( smile )
> 
> However, why not give the programmer the choice
> 
> with auto_garbage_collection
> without garbage_collection

GC is hard enough that I'd probably just implement
one method, and I'd prefer that it be invisible
to the programmer.

> then to manually collect garbage at quiet times
> procedure collect_garbage()

Some GC systems do give you the ability to 
trigger a collection at a convenient time.
With reference-counting it wouldn't make much sense.
I think I'd prefer that GC proceed invisibly without
the programmer having to even think about it, but if the
pauses were often noticable, I guess I'd have to provide that feature.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu