From the course: Programming Foundations: Beyond the Fundamentals
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Memory management across languages - Python Tutorial
From the course: Programming Foundations: Beyond the Fundamentals
Memory management across languages
- When I have friends over for a dinner party sometimes I go through a lot of dishes. I might start by giving my guests little plates with some appetizers like olives. Then maybe we'll sit down and I'll put down bowls for soup. After everyone's done, I'll get out large plates and we'll dig in on the main course. After that, maybe new smaller plates for dessert and cups for coffee and tea. Woo, if I just kept bringing out new plates and bowls before clearing away any of the other ones the table starts to get pretty filled up. By the time dessert rolled around we might not even have room for another plate. That's why I usually clear plates and bowls when people are done with one course before I bring the next one out. That ensures we all have enough room on the table for the food in front of us. Space is an issue when running a computer program as well. A computer uses two main types of storage. There's the drive, which…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.