• Open Daily: 10am - 10pm
    Alley-side Pickup: 10am - 7pm

    3038 Hennepin Ave Minneapolis, MN
    612-822-4611

Open Daily: 10am - 10pm | Alley-side Pickup: 10am - 7pm
3038 Hennepin Ave Minneapolis, MN
612-822-4611
Cpython: A Complete Guide to Cpython's Architecture and Performance

Cpython: A Complete Guide to Cpython's Architecture and Performance

Paperback

Programming

Publisher Price: $59.99

ISBN13: 9798868817687
Publisher: Apress
Published: Nov 19 2025
Pages: 324
Weight: 1.29
Height: 0.70 Width: 7.00 Depth: 10.00
Language: English

Deep Dive CPython explores the internal mechanics of CPython, the widely used Python interpreter written in C. Starting with a practical guide on downloading and compiling the CPython source, this book is perfect for developers eager to understand Python's behaviour at a fundamental level.

The book takes readers from basic concepts to complex details with a systematic breakdown of core components. It covers everything from CPython's data structures like PyObject and PyTypeObject to object lifecycle management, giving insight into memory allocation and object reference counting. Each chapter illustrates CPython's architecture, such as Python's everything is an object philosophy, list handling, string manipulation, and dictionary operations. Readers will explore Python's REPL modifications, string internals, and custom type creation with practical examples, like crafting a backflipping PyKitty_Type. Detailed sections on Python's virtual machine operations, bytecode generation, and exception handling enrich readers' understanding of how Python code is parsed, compiled, and executed.

Also in

Programming