Skip to main content
EuroPython logo

PEP 683: Immortal Objects - A new approach for memory managing

Track:
Python Internals & Ecosystem
Type:
Talk
Level:
advanced
Room:
Terrace 2B
Start:
10:45 on 12 July 2024
Duration:
30 minutes

Abstract

For most people that use Python, worrying about memory is not an issue. But that’s not the case when you have to handle a lot of requests on a large scale. So how do you reduce memory consumption without affecting the CPU?

In this presentation I’ll discuss about memory management in Python from the basics, where the necessity for PEP 683 came from, and the changes introduced by it. I also intend to discuss why this PEP is so important for the language, and what we’ll be able to achieve with it in the future, such as changes to the GIL and true parallelism.

The talk is targeted for folks who are intermediate/advanced pythonistas. People who are just starting with Python (maybe less than 1.5 years) may feel a bit lost. Even so, curious learners are more than welcome to join, and I’ll try my best to make it easy for all audiences on this advanced topic. After this presentation, participants will learn a bit more about how memory management works under the hood in python, and how it may change in the next couple of years.

Recording


Resources