
Understand how variables live in the memory heap as objects occupying slots, with binary addresses managed by the JavaScript memory manager across engines like V8 and SpiderMonkey.
Explore how Python memory management allocates memory and prints physical addresses for variables. See how immutable strings produce new memory addresses, while shared references reveal underlying memory behavior.
Discover how reference counting tracks references to memory in JavaScript, why primitives are immutable, how mutable arrays and objects share memory addresses, and how naive garbage collection frees unreferenced objects.
Explore reference counting in code, illustrating how assigning variables increases memory references and how objects are garbage-collected when references drop to zero in Python.
Examine how reference counts drop to zero and objects are freed, and how circular references prevent destruction, leaving objects in memory and causing memory leaks.
Welcome to the Advanced Python - Memory Management Journey.
This course is designed to take you a step from being an intermediate Python developer to being an effective Python programmer who knows why's and how of what's happening behind the scenes.
Python is used by world's largest companies to accomplish all kind of task and I'm going to help you understand this language in a an easy way.
The course is going to be short sweet you wont find me rambling a lot we'll get straight to the topic.
We will cover a lot of topics in this course! Including:
Memory Management such as garbage collection, reference counting algorithm, circular reference, memory leaks.
Looking forward to seeing you inside the course.
* course image taken from Vecteezy