Re: Garbage Collection
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. (
)
>
> 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
|
Not Categorized, Please Help
|
|