2min chapter

Signals and Threads cover image

Memory Management with Stephen Dolan

Signals and Threads

CHAPTER

Cycle Removal Techniques for Rough Counted Systems

One immediate problem with naive reg counting proach is when you have cycles, and have a set of data that points circularly to itself. And then if you just do the kind of naive reu counting thing, the count will never get decrimented to zero. As was it really good over you this, there's a paper called the unified theory of garbage collection,. One way of looking at this is that in tracing g c, you need to walk over all the stuff that in use, and then everything that you don't touch is the stuff that's dead and can be garbage collected.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode