I don't want full #garbagecollection, but what I would like to be able to do is to conservatively scan the registers and stack and precisely scan part of the heap for a deferred reference counting implementation. If I were using C I'd try to use #libgc for this. Can I use libgc with #Zig without too much trouble, or is there another portable way to scan its stack and registers?
#garbagecollection #libgc #zig #gc