liveBook · Manning

Address space

Also called memory space

An address space is a set or range of addresses available within a computing or communication system for identifying memory locations or other resources.

How 4 Manning books explain it

Rust in Action: Systems programming concepts and techniques

An address space is the set of memory addresses available for identifying stored data and instructions in an execution environment.

How it is used
Uses address spaces to connect pointers and process memory with virtual memory and isolation.
How deep it goes
Explains address layouts and page-based translation, then inspects process memory through operating system APIs.
Examples
Prints Rust references and variable addresses, inspects Windows memory regions, and illustrates a small imaginary address space.
What you can do after
Evaluate/understand virtual addresses and inspect known variable addresses without assuming every address is safe to access.

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

Latency

A process address space is the range of virtual memory addresses available to a running process.

How it is used
Explains how applications receive virtual memory and why address-space behavior affects application latency.
How deep it goes
Descends from process layout to page tables, lazy allocation, page faults, swapping, and memory-versus-disk access costs.
Examples
Uses process memory-layout and page-table figures, including contiguous virtual ranges mapped to noncontiguous physical locations.
What you can do after
Evaluate latency risks by relating page mappings, lazy allocation, and disk-backed pages to access cost.

Read how Latency explains address space →

Grokking Concurrency

An address space is the range and mapping of memory addresses available to a process or other execution context.

How it is used
Defines the memory view that lets processes hold data while remaining isolated from one another.
How deep it goes
Defines accessible process memory and contrasts separate process spaces with threads’ shared space; defers communication mechanisms.
Examples
Uses child processes with separate memory and threads reading and writing shared process memory.
What you can do after
Understand how separate or shared memory affects isolation and communication between processes and threads.

Read how Grokking Concurrency explains address space →

CUDA for LLMs

A memory space is a distinct addressable memory domain associated with a computing processor or execution environment.

How it is used
Separates CPU-host and GPU-device data so CUDA programs can allocate, transfer, compute, and return results.
How deep it goes
Explains separate host/device memory through allocation, copying, kernel execution, and result return; flags transfers as a potential bottleneck.
Examples
Uses vector addition to show host and device allocation, input copies, kernel launch, and result transfer.
What you can do after
Operate/configure it by allocating device buffers, copying vector inputs, launching a kernel, and copying results back.

Read how CUDA for LLMs explains address space →

Also covered in

What to know first

Related concepts

Questions about address space

What is address space?

An address space is a set or range of addresses available within a computing or communication system for identifying memory locations or other resources.

Which Manning books explain address space?

Rust in Action: Systems programming concepts and techniques, Latency, Grokking Concurrency and CUDA for LLMs.

What should I know before learning address space?

Manning books that teach address space usually introduce memory, CPU, C++ and Go first.

What is address space part of?

Address space is part of workflow. A workflow is an organized sequence of coordinated activities or tasks through which work progresses toward a defined outcome.

What are the parts of address space?

Address space includes memory location and memory page.

What is address space also called?

Address space is also called memory space.

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.