Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Programming Foundations: Memory, Pointers, and Garbage Collection

via LinkedIn Learning

Overview

Explore the basic tools and concepts of memory management in common programming languages like C and Python.

Syllabus

Introduction
  • Getting started with memory management
  • Are you ready to learn memory management?
1. Memory Management Concepts
  • 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
2. Memory Management in Code
  • 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
3. Memory Leaks and Best Practices
  • What are memory leaks?
  • Out of Memory error
  • Avoiding memory leaks
  • Best practices with memory
Conclusion
  • Next steps in memory management

Taught by

Maaike van Putten

Reviews

4.6 rating at LinkedIn Learning based on 91 ratings

Start your review of Programming Foundations: Memory, Pointers, and Garbage Collection

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.