Книга Cpython Kao

Cpython

Автор: Kao, Chien-Lung
Език: Английски език
Корици: С меки корици
Издател: Apress
Наличност: Външен склад
Изпращаме след 9-15 дни
43.85 85.76 лв
Deep Dive CPython explores the internal mechanics of CPython, the widely used Python interpreter wri...

Информация за книгата

Автор
Език
Английски език
Корици
Книга - С меки корици
Издадена
2025
страници
336
EAN
9798868817687
Enbook ID
49148982
Издател
Теглоt
634

Пълно описание

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.

 

 

Може също да ви хареса

CPython Internals

Shaw Anthony Shaw
36.26 70.92 лв
63.34 123.88 лв
17.48 34.18 лв
80.12 156.69 лв
12.70 24.85 лв
35.31 69.06 лв
20.94 40.96 лв

Ellora

Gilles Beguin
99.76 195.11 лв
50.88 99.51 лв
7.93 15.51 лв

Retreat

Mark Edwards
12.45 24.35 лв
6.07 11.88 лв

The Lost Garden

Angela Petch
13.31 26.03 лв

Girl in the Rain

J Christopher Wickham
9.49 18.56 лв
27.07 52.94 лв

Клиенти, които купиха тази книга, купиха също

21.49 42.04 лв
4.11 8.05 лв
10.09 19.74 лв
1.65 3.23 лв

Pucio Czego brakuje?

Marta Galewska-Kustra
7.48 14.63 лв
59.47 116.31 лв
28.73 56.19 лв
40.33 78.88 лв
15.77 30.84 лв
13.26 25.93 лв
9.19 17.97 лв
25.46 49.80 лв

Tecnologías entrañables

Quintanilla Fisac
16.92 33.10 лв
17.58 34.38 лв
7.43 14.53 лв

Moja sretna hrana

Maja Brekalo
20.64 40.37 лв
15.27 29.86 лв
51.03 99.81 лв