3 ms·
I'm having a hard time understanding how memory management works with the no-GC Zero stdlib. I see this but I don't get it. Anyone see a better explanation? htt
by noveltyaccount 4y ago
I'm having a hard time understanding how memory management works with the no-GC Zero stdlib. I see this but I don't get it. Anyone see a better explanation? https://github.com/bflattened/bflat/tree/master/src/zerolib https://github.com/bflattened/bflat/tree/master/src/zerolib
- MarkSweep 4y agoIt uses malloc in place of the GC’s allocator, so objects stay allocated forever: https://github.com/bflattened/bflat/blob/master/src/zerolib/Internal/Stubs.cs#L134 https://github.com/bflattened/bflat/blob/master/src/zerolib/...