Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

> except C, C++, and sometimes Objective-C

I would put C++ also as sometimes.

RC is part of the standard library, although optional, strings and vectors might use COW and since C++11 there is a tracing GC API, Windows COM/UWP relies on RC, and Unreal uses a C++ tracing GC on Blueprint integration components.



view as:

And I guess libgc (the Boehm–Demers–Weiser GC) has been around since the early 1990s. I wasn't considering reference-counting as GC.

Except it is, from CS point of view.

We've used the term "garbage collection" in different ways over the years. Some of them include reference counting; others don't. Yes, in CS.

I rather refer to canonical CS references like "The Garbage Collection Handbook".

Legal | privacy