AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Heap Continues to Go Down, and the Stack Continues to Go Up
You set a maximum stack size, and then the the run time tells you no more when you go over. If you don't there's nothing checking, you're going beyond the heap,. Nothing checking you're going Beyond the Stack. A hell hewis the real problem. And this is one of the reasons we don't always use heaps in embedded systems. Use static memory, and then everything after the prealicated variables is stack space to work with.