@cdome It can be implemented with 100 lines of code, but can it be implemented **transparently** for users, or will GC users have to write more convoluted code than today? Moreover, can **deferred** RC be implemented with 100 lines of code (I guess not, one has to distinguish between local variables and other references)? If not, your proposed library GC would be less efficient than today.
Finally, will mark and sweep also be implementable as a library? Again, I guess not, even though it is generally the most efficient of the available GC algorithms in Nim. Things are not as easy as you picture them
