This talk was given at North Bay Python 2018 in Petaluma, CA.
As a new python developer, do you find memory management in Python confusing? Come to this talk to learn about the basics of how Memory Management works in Python. We’ll cover the concepts of reference counting, garbage collection, weak references,
__slots__, and the Global Interpreter Lock.
Dinner in Petaluma with my favorite Python people for #nbpy #NorthBayPython! 🐍💜 🍽️ With @mariatta @joshsimmons @chrisjrn @thursdayb @loooorenanicole @treyhunner @hayleydenb & @zooba. Can't wait for the main event tomorrow. pic.twitter.com/yMWcbI0JxL— Nina Zakharenko 💜🐍 (@nnja) November 3, 2018
Learning about Memory management in Python from @nnja at @northbaypython #nbpy . Memory management is such a forgotten topic for most Python developers, but it is always good to have a mindset towards managing memory while writing your applications. pic.twitter.com/C3KeXGPyKs— Vikram Bhat (@_vikrambhat1) November 4, 2018
The Global Interpreter Lock makes single threaded applications fast but it means only one thread will ever by executed at a time. We've got a GIL in Python so if you want to take advantage of multiple CPU cores, use multiprocessing. @nnja #nbpy pic.twitter.com/ykPjWRnDSf— Trey Hunner 🐍🍪✨ (@treyhunner) November 4, 2018
Wish I had seen this slide as a n00b #Pythonista all those years ago ... y’all need to scope it @nnja #NBPy chat! Super informative on #Python memory management in a very accessible way. pic.twitter.com/8T959y3blb— Loooorena "La 🐯 Tigresa” @ #BLM 🖤 (@loooorenanicole) November 4, 2018
So Python uses generational garbage collection also, which is a form of tracing garbage collection.— Trey Hunner 🐍🍪✨ (@treyhunner) November 4, 2018
(I skipped lots of slide screenshots and summarizing. You'll need to watch the talk for more.)@nnja #nbpy pic.twitter.com/Wbowq8BGbB
“don’t actually do this” slides at #nbpy: 2, now— 🏳️🌈 Sam Kimbrel (@skimbrel) November 4, 2018
(this one was about using the ‘del’ keyword)