2min chapter

Embedded cover image

391: The Lesser of Two Weevils

Embedded

CHAPTER

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.

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