Cheating the Reaper in Go (mcyoung.xyz)

Posted by retew | votes: 114 | comments: 1 | Apr 22, 2025

Log in to comment.

Comments

  • droidtask | votes: 0 | Apr 22, 2025

    A garbage collector’s responsibility is to maintain a memory allocator and an accounting of:

    What memory has been allocated.
    Whether that memory is still in use.
    

    Memory that is not in use can be reclaimed and marked as unallocated, for re-use.

    Don’t think that’s all that a garbage collector does.