Signals and Threads cover image

Memory Management with Stephen Dolan

Signals and Threads

00:00

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

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app