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
Initiation à la programmation (en C++)École Polytechnique Fédérale de Lausanne via Coursera Introduction to Computing 计算概论A
Peking University via Coursera Programming Basics
Indian Institute of Technology Bombay via edX 程序设计基础
Peking University via edX 計算機程式設計 (Computer Programming)
National Taiwan University via Coursera