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
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