YoVDO

Monkey-Patching CPython with Ctypes to Conform to Party Doctrine

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Web Development Courses Software Engineering Courses CPython Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of CPython internals in this 30-minute EuroPython Conference talk. Dive into a unique challenge of modifying the value of "2 + 2" to equal 5 at runtime using only Python and the ctypes module. Gain insights into the Python data model, CPython compilation process, and execution by the virtual stack machine. Learn about object and type representation in memory, reference counting, and the transformation of Python scripts into abstract syntax trees. Discover how to monkeypatch integer addition without requiring C programming knowledge. The talk covers topics such as peephole optimization, memory protection, and provides an opportunity for questions. Suitable for those interested in understanding the inner workings of CPython and exploring unconventional programming techniques.

Syllabus

Intro
Background
Ctypes
Peephole optimization
Atlantic hiring
Questions
MProtect
What kept you going
Repositories
People Optimizer


Taught by

EuroPython Conference

Related Courses

30 Days to Learn Laravel
Laracasts
3D Graphics for Web Developers
Pompeu Fabra University via FutureLearn
A Beginner’s Guide to Web Development with HTML5
Packt via FutureLearn
Accessibility Audit
Amazon Web Services via AWS Skill Builder
Expanding Your JS Skills with Angular
A Cloud Guru