liveBook · Manning

CPU

A central processing unit (CPU) is a general-purpose processor that executes computer instructions and performs computational operations.

How 4 Manning books explain it

Fast Python: High performance techniques for large datasets

How it is used
Provides the baseline for profiling data-processing bottlenecks and comparing sequential execution with GPU parallelism.
How deep it goes
Works through an idealized operation-cost calculation and memory-access context, stopping short of a detailed CPU implementation.
Examples
Uses pairwise NOAA station distances and a 100-element array-doubling comparison.
What you can do after
Diagnose/debug CPU-bound Python workloads with profiling and evaluate whether their operations suit GPU parallelism.

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

Starting Data Analytics with Generative AI and Python

A CPU is a general-purpose processor designed to execute a broad range of sequential and parallel computational workloads.

How it is used
Uses CPU cores to explore performance scaling for computational workloads.
How deep it goes
Explains multicore execution through a threaded bootstrap example, but defers broader processor architecture details.
Examples
Demonstrates optimized and parallelized bootstrap confidence-interval functions and compares their execution times.
What you can do after
Diagnose whether adding CPU threads improves a workload by inspecting utilization and benchmarking execution time.

Read how Starting Data Analytics with Generative AI and Python explains CPU →

Rust in Action: Systems programming concepts and techniques

A CPU is the computer hardware component that executes instructions and performs arithmetic and logical operations.

How it is used
Uses CPU behavior to build a minimal CHIP-8 emulator and reason about thread performance.
How deep it goes
Explains registers, opcodes, decoding, dispatch, and addition internals, but stops before memory-backed execution.
Examples
Demonstrates a CHIP-8 addition opcode and measures sleep and spin-loop timing across increasing thread counts.
What you can do after
Build it from scratch as a small emulator that loads registers, decodes an opcode, and executes addition.

Read how Rust in Action: Systems programming concepts and techniques explains CPU →

Grokking Concurrency

A processor, or central processing unit (CPU), is hardware that executes machine instructions and performs general-purpose computation.

How it is used
Explains how hardware executes programs and supports informed choices about sequential and concurrent software performance.
How deep it goes
Defines instruction execution, introduces CPU components, and surveys parallelism without detailing memory behavior or low-level circuitry.
Examples
Uses a recipe analogy, CPU component diagrams, serial execution, instruction-level parallelism, multiprocessors, and multicore processors.
What you can do after
Evaluate hardware capabilities and choose processing resources that better support concurrent algorithm performance.

Read how Grokking Concurrency explains CPU →

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.