in reply to Re^3: releasing memory from a loop in Windows
in thread releasing memory from a loop in Windows

It's not just your opinion that considers "reference counting" as just one of several methods of implementing "gargabe collection", and the trend for Perlists to disown the term "garbage collection" as false elitism.

See wikipedia "Reference counting" where the first application of "Reference counting" is "Garbage collection".

See also Wikipedia "Garbage collection"/"Reference counting" where RCGC is contrasted with "Tracing GC".

See also Wikipedia "Garbage Collection"/"Implementations" where is says:

Script languages like Perl, Ruby, Python and PHP tend to have built-in support of GC.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^4: releasing memory from a loop in Windows

Replies are listed 'Best First'.
Re^5: releasing memory from a loop in Windows
by ikegami (Patriarch) on Aug 07, 2006 at 23:07 UTC

    The Wikipedia articles are confusing and/or very vague. "Garbage collection (computer science)" defines garbage collection as "a form of automatic memory management." (The rest of the article is about garbage collectors.) The same article also calls reference counting a form of automatic memory management.

    "The garbage collector attempts to reclaim garbage, or memory used by objects that will never again be accessed or mutated by the application." further confuses the issue, since garbage never exists in Perl according to that definition. The memory is freed as the point where it would become garbage.

    But that's all irrelevant here. It's clear it considers reference counting a type of garbage collection. I was led to believe GC refered specifically to asynchronous memory reclamation, but that's apparently false. My post has been corrected.