Stack vs Heap Memory - Simple Explanation

Опубликовано: 25 Ноябрь 2022
на канале: Alex Hyett
238,371
10k

I take a look at Stack and Heap Memory and how it affects your application. Knowing how memory is handled in your application can help you understand your variables' scopes.

🧑🏻‍💻 Code: https://github.com/alexhyett/youtube-...

☕️ I don’t accept paid sponsorships and I have turned off mid-video ads. You’re welcome! If you would like to support my channel see: https://ko-fi.com/alexhyett
📨 Join my free weekly newsletter for advice, technology and more: https://newsletter.alexhyett.com

🗺️ Backend Developer Roadmap: https://www.alexhyett.com/backend-dev...
📝 Blog Post: https://www.alexhyett.com/stack-vs-he...

🎓 RECOMMENDED COURSES (Use code FRIENDS10 for 10% off)
The Complete Web Developer Course - https://academy.zerotomastery.io/a/af...
The Complete Junior to Senior Web Developer Roadmap - https://academy.zerotomastery.io/a/af...
Complete SQL + Databases Bootcamp - https://academy.zerotomastery.io/a/af...

📚 RECOMMENDED BOOKS
Software Development
Clean Code - https://geni.us/5AEwj2
Clean Architecture - https://geni.us/yBrTX
Domain Driven Design - https://geni.us/WiR0Q0x
Design Patterns - https://geni.us/5ncUt
Developer Hegemony - https://geni.us/lAXy
Pragmatic Programmer - https://geni.us/GfNj9
Data Structures and Algorithms Made Easy - https://geni.us/sqg6kJ
Refactoring - https://geni.us/ufAP0mE
The Productive Programmer - https://geni.us/IT9WiN
Pragmatic Thinking and Learning - https://geni.us/x81A
Test Driven Development - https://geni.us/HFV52
Microservices - https://geni.us/8vMA

🚀 MY FAVOURITE TOOLS
Visual Studio Code - https://code.visualstudio.com/
Obsidian - https://obsidian.md/
Notion - https://affiliate.notion.so/alexhyett

⏳ TIMESTAMPS
00:00 Introduction
00:18 Three main parts
00:28 Stack data structure
00:51 Call stack
01:19 Heap differences
01:50 Variable storage rules
01:58 Value types and reference types
02:23 Local variables
02:40 Reference types on heap
02:57 Value types on heap
03:20 Garbage collector
03:53 Exceptions to the rule
04:40 Asynchronous methods


You can check out more of my favourite tools on my website:
https://www.alexhyett.com/tech/

🔗 MY KEY LINKS
🌍 Blog - https://www.alexhyett.com/
🐘 Mastodon - https://social.alexhyett.com/@alex

🧑‍💻WHO AM I
I'm Alex, a Software Developer and YouTube working in the UK. I make videos about software development to help developers with the skills they need to be senior developers. As well as this YouTube Channel, I also write articles on my website (https://alexhyett.com) as well as write a regular newsletter that contains some thoughts to help aspiring developers.

‼️ DISCLAIMERS
Some of the links in this description are affiliate links, for which I get a small commission, at no extra cost to you 🙂. I appreciate you supporting my channel so I can continue providing you with free software development content!

#coding #programming #developer


Смотрите видео Stack vs Heap Memory - Simple Explanation онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Alex Hyett 25 Ноябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 238,371 раз и оно понравилось 10 тысяч людям.