liveBook · Manning

CPython

CPython is the reference implementation of the Python programming language, written primarily in C and providing its interpreter and runtime.

How 2 Manning books explain it

Fast Python: High performance techniques for large datasets

How it is used
Uses CPython as the default implementation for examining Python data-processing performance, memory use, and threading limits.
How deep it goes
Explains the GIL’s threading constraint and probes memory estimates, but does not provide a complete analysis of CPython’s performance.
Examples
Uses timed matrix multiplication across implementations and `sys.getsizeof` measurements of data containers.
What you can do after
Diagnose/debug with it by checking whether interpreter execution, the GIL, or misleading memory estimates affect a performance decision.

Read how Fast Python: High performance techniques for large datasets explains CPython →

Python Concurrency with asyncio

The standard reference implementation of the Python programming language, written primarily in C.

How it is used
Frames CPython as the runtime constraint for understanding Python threading performance and shared-state safety.
How deep it goes
Explains reference counting, the GIL, race conditions, and timing evidence, but stops short of implementation-level internals.
Examples
Uses recursive Fibonacci timing and a reference-count race condition to demonstrate concurrency limits.
What you can do after
Evaluate/understand: Compare sequential and threaded CPU-bound work and recognize when multiprocessing is relevant.

Read how Python Concurrency with asyncio explains CPython →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.