2min chapter

Signals and Threads cover image

Memory Management with Stephen Dolan

Signals and Threads

CHAPTER

Do Programmers Have to Think Explicitly About Stack Frames?

The structure of the data stack falls naturally out of the structure of the function calls. But if you're witing one of these mart constructure things that allocate something for the colar to deelocat, then those require an annotation. You have to say that a given function is going to return something on the parent stack. And then beyond that, you just use the functions in that thing. So you not explicitly in the code manipulating stack frames? Yes, that's correct. We did at one point of a side mabbe we could just infer all of this and just have the compiler decide when things go on the stack - which sounds good in theory, but really isn't

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