CPython: A Complete Guide to CPython’s Architecture and Performance

- 50%

Original price was: $59.99.Current price is: $30.00.

Add to wishlistAdded to wishlistRemoved from wishlist 0

Product Specs:

  • File Type: PDF
  • File Size: 10.0 MB
  • Book Language: English
  • Total Page Count: 313
  • Instant Download

Python’s familiar syntax is only the surface. In CPython: A Complete Guide to CPython’s Architecture and Performance, Chien-Lung Kao follows the implementation underneath it—from objects and memory management to bytecode, virtual-machine behavior, and the details of how classes and functions work.

With 30 chapters organized around specific parts of CPython, the book gives Python programmers a route into the interpreter’s source and the machinery behind everyday operations. The emphasis is on understanding how the pieces fit together, not just memorizing language features.

Follow Python from source code to execution

The opening chapters introduce the CPython project and its source tree, then trace how code becomes an abstract syntax tree, is compiled to bytecode, and creates objects. The discussion also covers Python startup and the transition from file bytecode—useful context for readers who want to see what happens between writing a program and running it.

Look inside the objects you use every day

Dedicated chapters explore CPython’s representation and management of integers, floating-point numbers, strings, lists, dictionaries, and tuples. Object creation, memory use, garbage collection, string operations, and collection behavior help connect familiar Python code with the implementation choices beneath it.

Explore the Python virtual machine

The book turns to code, function, and frame objects, along with namespaces, scopes, cells, and closures. These topics offer a closer view of how CPython represents functions and manages execution—especially helpful when language behavior seems less obvious from the surface syntax alone.

Classes, inheritance, and the method lookup puzzle

Later chapters examine how classes come into being, how inheritance works, and how CPython calculates method resolution order using C3 linearization. Kao also investigates super() in multiple inheritance, then extends the tour to generators, iterators, descriptors, and exception handling.

A focused study for curious Python programmers

This CPython book is suited to readers who already use Python and want to understand its implementation more deeply, as well as software professionals interested in interpreter design. Its source-oriented perspective makes it a natural choice for programmers willing to follow concepts into the machinery that makes Python run.

For a more grounded understanding of Python’s behavior, start with the interpreter itself.

User Reviews

0.0 out of 5
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
Write a review

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

No product has been found!
CPython: A Complete Guide to CPython’s Architecture and Performance
CPython: A Complete Guide to CPython’s Architecture and Performance

Original price was: $59.99.Current price is: $30.00.

Create. Design. Inspire.

Design Something Amazing

Looking for creative resources? Discover Procreate brushes, Photoshop resources, and design assets at BrushesPack.com.

✦ Procreate Brushes Ps Photoshop Resources ◇ Design Assets
✎
BrushesPack Creative Resources
Digital Delights
Logo
Shopping cart