Laurynas Biveinis wrote:
That's certainly possible, maybe even interesting, but I'm not going to try this :) Circular references could be handled by fallbacking to mark-and-sweep time from time.
Or by just being careful. Even type correct full garbage collection doesnot guarantee freedom from memory leaks, as Java and Algol-68 programmers know well. You still have to be careful not to accidentally
hold onto garbage!
