Explore the basic tools and concepts of memory management in common programming languages like C and Python.
Overview
Syllabus
Introduction
- Getting started with memory management
- Are you ready to learn memory management?
- What is memory?
- Why do we need to manage the memory?
- Stack memory
- Heap memory
- Heap vs. stack memory
- Allocating memory
- Deallocating memory
- Garbage collection
- Actual removing or sweeping
- The C way: Allocating memory
- The C way: Deallocating and reallocating memory
- The automagic way in modern languages
- Memory management in Python
- Memory in Python visualized
- What are memory leaks?
- Out of Memory error
- Avoiding memory leaks
- Best practices with memory
- Next steps in memory management
Taught by
Maaike van Putten