Pointers in Python: Implementing C-Style Memory Manipulation
Offered By: PyCon US via YouTube
Course Description
Overview
Explore the inner workings of Python by implementing pointers, a feature typically associated with C/C++. This tutorial delves deep into Python's internals, offering a unique perspective on language design and object manipulation. Learn to add new syntax to Python, including '&' and '*' operators for address-of and dereference operations. Discover how to create custom builtin objects and understand the internal layout of Python objects. Gain insights into object lifecycle management, interaction between custom and existing objects, and the intricacies of Python's garbage collection mechanisms, including reference counting and cyclic object handling. Enhance your understanding of double underscore methods and their internal implementations. While pointers aren't practical in Python, this exercise provides invaluable knowledge about the language's core functionality. For optimal experience, Docker installation is recommended. Access accompanying slides for additional reference.
Syllabus
Tutorials - Yan Yanchii: Pointers in Python
Taught by
PyCon US
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity