M. Edward (Ed) Borasky wrote:
> Rick DeNatale wrote:
>> It's main advantage is that it's easy to understand.
>
> I don't think reference counting is any easier to understand than pure
> mark-and-sweep or pure stop-and-copy. The main advantage of reference
> counting in my opinion is that its restrictions force you to kick some
> features out of your language design if you want to use it.
Those features being "finalizers"? IMHO its main advantage is being
prompt, so you don't have to worry about resources hanging around after
they're no longer needed.
--
Posted via
http://www.ruby-forum.com/.