Signals and Threads cover image

Memory Management with Stephen Dolan

Signals and Threads

NOTE

Brief overview of memory management - stack and heap

Programmers need to put their data in memory somewhere, and make sure that there aren't two things in the same place at the same time. The simplest way of doing that is you just write a big map of where everything goes. So i suppose, from ha full scale pogami languages. You can just reserve a large piece of memory, use it as a stack. Whenever you new bit of memory, you put it on the end. Whenever you're done with it, you pop it off. It works particularly well for local variables of a function. Of course, not all memoy that a bogam uses is going to work in such a straightforward way. Sometimes exactly how long

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