2min chapter

Signals and Threads cover image

Memory Management with Stephen Dolan

Signals and Threads

CHAPTER

How to Keep Around the Data Structures

In the sea world, where you're doing things manually and unsafely, malic and free are the things for moving those data structures around. And then in a garbage collected language, we have some system that still got some notion of whats allocated ind what isn't allocated. We have automated techniques for computing an approximation of what are the things that you actualy nee to keep around. In tracing collection, you periodically work out what's alive by starting with the stuff that you definitely know is in use. The alternative is reference counting so each piece of memory that's in use, you keep track of how many references there are to it.

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