Playback speed
×
Share post
Share post at current time
0:00
/
0:00
Transcript

Design of the CPython Type System

Understanding design is important before looking at implementation

About

This is the first video on the video series on the internals of the CPython type system. In this video we talk about the broad design ideas behind the type system based on which it is implemented.

It’s important to first talk about the design because it gives us a mental model about how things work, which gives us a better perspective about the code because we understand why it is written the way it is.

Next Video

In the next video we talk about how can we emulate inheritance and polymorphism in C.


Links to All the Videos of this Series

  1. Design of the CPython Type System (you are here)

  2. Emulating Inheritance and Polymorphism in C (next)

  3. Decoding PyObject and PyTypeObject in CPython

  4. Implementation of the Float Built-in Type in CPython


Writing such in-depth articles on hard technical topics requires several days of research and writing. My goal is to build a community of 100 dedicated subscribers who value this work and want to ensure it continues. If you enjoy my content and would like to be part of this growing community, consider becoming a paid subscriber or buying me a coffee. Every subscription takes us one step closer to our goal and keeps this work sustainable.

Share

Discussion about this podcast

Confessions of a Code Addict
Confessions of a Code Addict Podcast
Deep dives into varied topics on Computer Science including compilers, programming languages, database internals, AI and more. Subscribe for insights and advance your engineering skills!