CPU
A central processing unit (CPU) is a general-purpose processor that executes computer instructions and performs computational operations.
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.
Related concepts
- garbage collectionused by · Garbage collection is an automated memory- or storage-management process that identifies objects or data no longer reachable or needed and reclaims or deletes them.
- GPUcontrasts with · A graphics processing unit (GPU) is a processor designed for highly parallel computation, especially graphics and data-parallel workloads.
- corehas part · A processor core is an individual hardware execution unit within a processor that can execute instructions.
- compute-boundused by · A computation is compute-bound when its performance is limited primarily by available processor or arithmetic capacity rather than memory transfer, input/output, or other resources.
- hardwarepart of · Hardware is the physical equipment and components of a computing system that provide resources for computation and software execution.
- threadused by · A thread is an independently schedulable sequence or context of execution within a program or process.
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.



