Könyv Cpython Kao

Cpython

Szerző: Kao, Chien-Lung
Nyelv: Angol
Kötés: Puha kötésű
Kiadó: Apress
Elérhetőség: Beszállítói készleten
Küldés 9-15 napon belül
17 108 Ft
Deep Dive CPython explores the internal mechanics of CPython, the widely used Python interpreter wri...

Információk a könyvről

Szerző
Nyelv
Angol
Kötés
Könyv - Puha kötésű
Kiadva
2025
oldal
336
EAN
9798868817687
Enbook ID
49148982
Kiadó
Súly
634

Teljes leírás

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.

This 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.

What you will learn:

  • How to download, compile, and modify CPython's source code
  • Gain insight into fundamental structures like PyObject and PyTypeObject,
  • Understand Python's detailed handling of lists, strings, dictionaries, and the REPL environment.
  • What are bytecode generation, custom types, and the inner workings of Python's virtual machine.

Who this book is for:

Python 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.

 

 

Érdekelheti

CPython Internals

Shaw Anthony Shaw
13 903 Ft
22 457 Ft
6 817 Ft
30 414 Ft
13 490 Ft
7 414 Ft

Ellora

Gilles Beguin
33 901 Ft
2 818 Ft

Retreat

Mark Edwards
3 500 Ft

The Lost Garden

Angela Petch
5 080 Ft

Girl in the Rain

J Christopher Wickham
3 231 Ft

Azok a vásárlók, akik ezt a könyvet megvásárolták, a következőket is megvásárolták

1 364 Ft
3 415 Ft

Pucio Czego brakuje?

Marta Galewska-Kustra
2 518 Ft
21 788 Ft
13 607 Ft
4 156 Ft
3 132 Ft
8 652 Ft

Tecnologías entrañables

Quintanilla Fisac
5 749 Ft
2 845 Ft

Moja sretna hrana

Maja Brekalo
7 701 Ft
5 125 Ft
17 206 Ft