Stack vs Heap Memory - Simple Explanation
Alex Hyett
@alexhyettdevAbout
Idea. Build. Launch. Profit? Hi, I am Alex, a professional software developer who has been writing code for over 30 years. My aim for this channel is to help you take your side projects from idea to launch. I will show you everything you need to turn an idea into a profitable project that will hopefully let you quit your 9 to 5. āāāāāāāāā Some of my video descriptions contain affiliate links to products that I personally recommend. In some cases, I earn a small commission if you buy something from one of my links at no extra cost to you.
Latest Posts
Video Description
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. š Video Transcript: https://www.alexhyett.com/stack-vs-heap-memory/ šØ Free Newsletter: https://www.alexhyett.com/newsletter/ ā Join my free weekly newsletter for advice, technology and more. ā¤ļø Support my channel: https://www.alexhyett.com/supporters/ ā Say thanks by buying me a coffee or becoming a loyal supporter. š Courses: https://www.alexhyett.com/courses/ ā Like the way I teach? You might like my courses too! šØāš» All Code: https://git.alexhyett.com/alexhyettdev/youtube-code ā Links to all the code for my YouTube videos can be found here. ā³ CHAPTERS 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 š SOCIAL LINKS š Mastodon ā https://social.alexhyett.com/@alex š¼ LinkedIn ā https://www.linkedin.com/in/alexhyett/ āļø Bluesky ā https://bsky.app/profile/alexhyett.com š§āš» 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. #coding #programming #developer
You May Also Like
Essential Learning Tools
AI-recommended products based on this video
![LISEN USB C Cable 240W - [6.6ft 2Pack] Nylon Braided Type C Cable Fast Charge PD3.1 USBC Fast Charging Data Cord for iPhone 17 16 Pro Max Samsung MacBook Pro,Xbox,iPad Pro/Air, Switch 2](https://m.media-amazon.com/images/I/81W90296KhL._AC_UL960_FMwebp_QL65_.jpg)
LISEN USB C Cable 240W - [6.6ft 2Pack] Nylon Braided Type C Cable Fast Charge PD3.1 USBC Fast Charging Data Cord for iPhone 17 16 Pro Max Samsung MacBook Pro,Xbox,iPad Pro/Air, Switch 2

Expo Dry Erase Markers, Whiteboard Markers with Low Odour Ink, Chisel Tip, Assorted Colours, 4 Count














