Grow your YouTube channel like a PRO with a free tool
Get Free YouTube Subscribers, Views and Likes

You Need to Know This About the Stack and the Heap

Follow
ArjanCodes

In this video, I’m exploring memory models in software, focusing on the stack and the heap. I'll use wooden blocks to visually explain these concepts and why memory management matters.

Get my FREE 7step guide to help you consistently design great software: https://arjancodes.com/designguide.

The Friday Loop by ArjanCodes Newsletter: https://thefridayloop.com

ArjanCodes Blog: https://www.arjancodes.com/blog

✍ Take a quiz on this topic: https://www.learntail.com/quiz/bfaewo

Courses:
The Software Designer Mindset: https://www.arjancodes.com/courses/tsdm
The Software Architect Mindset: https://www.arjancodes.com/courses/tsam
Next Level Python: Become a Python Expert: https://www.arjancodes.com/courses/nlp
The 30Day Design Challenge: https://www.arjancodes.com/courses/30ddc

If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!

Social channels:
Discord: https://discord.arjan.codes
X: https://x.com/arjancodes
LinkedIn:   / arjancodes  
Facebook:   / arjancodes  
Instagram:   / arjancodes  
♪ Tiktok:   / arjancodes  

Code reviewers:
Yoriz
Ryan Laursen
Dale Hagglund
Kit Hygh
Alexander Milden
Bean

Video edited by Mark Bacskai:   / bacskaimark  

GEAR & RECOMMENDED BOOKS: https://kit.co/arjancodes

Chapters:
0:00 Intro
0:40 Why do we need to organize memory?
1:38 What is the stack?
4:51 What is the heap?
12:12 How does all of this work in Python?
13:39 Final thoughts
15:26 Outro

#arjancodes #softwaredesign #python

DISCLAIMER The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!

posted by shiny399046