Comment by Findecanor
7 months ago
That would still be tracing. The problem is that if there is a cycle, the reference count would be too high, and you'd not detect that the object should be reclaimed.
7 months ago
That would still be tracing. The problem is that if there is a cycle, the reference count would be too high, and you'd not detect that the object should be reclaimed.
I was replying to the OP:
> "but I was recently wondering if it would be possible to detect and deny pointer cycles in a language in an efficient way"
...not whatever issue you are worried about.