manual memory management
Paulo Pinto
pjmlp at progtools.org
Thu Jan 10 00:38:17 PST 2013
On Wednesday, 9 January 2013 at 22:29:36 UTC, Jonathan M Davis
wrote:
> On Wednesday, January 09, 2013 14:14:15 Walter Bright wrote:
>> On 1/9/2013 1:23 PM, Mehrdad wrote:
>> > And are you considering reference counting to be garbage
>> > collection like
>> > Walter does,
>>
>> It's not something I came up with. It is generally accepted
>> that ref
>> counting is a form of garbage collection.
>
> I definitely would never have referred to reference counting as
> garbage
> collection and find it quite odd that it would be considered to
> be such, but
> Wikipedia does indeed list it as being a form of garbage
> collection:
>
> http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)
>
> So, it's backing you up in your usage of the term.
>
> - Jonathan M Davis
This is what I was saying all along, in CS GC books reference
counting is usually introduced as poor man's GC solution. As the
most simple way to implement some kind of automatic memory
management, specially in memory constrained devices at the
expense of execution speed.
--
Paulo
More information about the Digitalmars-d
mailing list