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
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner