liveBook · Manning

Virtual address

A virtual address is an abstract address used to identify or access a resource without directly specifying its underlying physical location.

How 2 Manning books explain it

Rust in Action: Systems programming concepts and techniques

A virtual address is an address in a process's virtual address space that is translated by the operating system and hardware to physical memory.

How it is used
Uses virtual addresses to explore a process’s memory layout and explain how memory accesses reach physical storage.
How deep it goes
Explains page-based translation and TLB caching, while noting that operating-system and CPU details vary across environments.
Examples
Prints addresses of global, local, and boxed Rust values after attempting to scan memory byte by byte.
What you can do after
Evaluate and understand observed address ranges, illegal accesses, and the role of address translation.

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

Embedded Software with Rust

A virtual address is the runtime address at which a program section or object is located and accessed.

How it is used
Distinguishes where embedded program sections are stored at load time from where they must reside during execution.
How deep it goes
Defines VMA against LMA, traces .data relocation and .bss zeroing, and notes that microcontroller addresses are not MMU-translated.
Examples
Uses Rust statics, section mappings, and cargo objdump output to illustrate runtime addresses.
What you can do after
Diagnose section placement with cargo objdump by checking VMAs against intended FLASH and RAM regions.

Read how Embedded Software with Rust explains virtual address →

Related concepts

Questions about virtual address

What is virtual address?

A virtual address is an abstract address used to identify or access a resource without directly specifying its underlying physical location.

Which Manning books explain virtual address?

Rust in Action: Systems programming concepts and techniques and Embedded Software with Rust.

What is the difference between virtual address and load memory address?

A virtual address is an abstract address used to identify or access a resource without directly specifying its underlying physical location. A load memory address (LMA) is the address in an image from which a section's stored contents are loaded or copied.

What is virtual address part of?

Virtual address is part of 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.

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.