{"product_id":"cpython-a-complete-guide-to-cpythons-architecture-and-performance-9798868817687","title":"Cpython: A Complete Guide to Cpython's Architecture and Performance","description":"\u003cp\u003e • Author(s): Chien-Lung Kao\u003cbr\u003e • Publisher: Apress\u003cbr\u003e • Publisher Imprint: Apress\u003cbr\u003e • BISAC: Programming Languages - Python\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eDeep 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.\u003c\/p\u003e \u003cp\u003eThe 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.\u003c\/p\u003e \u003cp\u003eThis book is a thorough guide for readers who want to go beyond basic Python use and understand how it works internally. Covering complex concepts like generators, iterators, descriptors, and metaclasses, this book equips readers with a thorough grasp of Python's performance optimization and design complexities.\u003c\/p\u003e \u003cp\u003eWhat you will learn: \u003c\/p\u003e \u003cul\u003e \u003cli\u003eHow to download, compile, and modify CPython's source code\u003c\/li\u003e \u003cli\u003eGain insight into fundamental structures like PyObject and PyTypeObject, \u003c\/li\u003e \u003cli\u003eUnderstand Python's detailed handling of lists, strings, dictionaries, and the REPL environment.\u003c\/li\u003e \u003cli\u003eWhat are bytecode generation, custom types, and the inner workings of Python's virtual machine.\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003eWho this book is for: \u003c\/p\u003e \u003cp\u003ePython programmers aiming to gain a deeper understanding of Python's internals and move beyond standard usage, as well as software professionals interested in CPython's C-based implementation and core architecture.\u003c\/p\u003e \u003cp\u003e \u003c\/p\u003e \u003cp\u003e \u003c\/p\u003e","brand":"Atlantic Books","offers":[{"title":"Paperback","offer_id":46382042677399,"sku":"9798868817687","price":4193.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0666\/3471\/1191\/files\/9798868817687.webp?v=1768774444","url":"https:\/\/atlanticbooks.com\/products\/cpython-a-complete-guide-to-cpythons-architecture-and-performance-9798868817687","provider":"Atlantic Books","version":"1.0","type":"link"}