Skip to content

Tagged architecture

Tagged architecture attaches type, permission, provenance, capability, or other metadata to machine words or memory objects and makes hardware operations interpret or enforce those tags during execution.

Core Idea

A tagged architecture is a computer architecture in which memory words, pointers, or other machine values carry protected metadata that identifies their type, interpretation, authority, or permitted use. Hardware propagates and checks the tag during load, store, arithmetic, branching, and memory access, so a bit pattern cannot automatically be treated as an instruction, integer, or valid reference merely because software casts it. Tags make semantic distinctions part of machine state rather than an informal convention maintained only by compilers. Designs vary in granularity and enforcement. Historical Burroughs systems tagged control and data words to support high-level languages; Lisp machines distinguished.

How would you explain it like I'm…

Sticker-Checking Computer

Imagine every toy in a toy box has a sticker saying what it is: block, ball, or key. The toy box itself checks the sticker, so you can't use a ball as a key just by pretending. A Tagged architecture is a computer built like that: every piece of information carries a label, and the machine checks the label before using it.

Hardware-Checked Labels

Inside a computer, everything is just patterns of 0s and 1s, so the same pattern could be a number, an instruction, or an address that points to memory. In a Tagged architecture, the hardware attaches a protected label, called a tag, to each piece of data that says what it is or what it's allowed to do. When the computer loads, stores, adds, or jumps, it checks the tag and refuses wrong uses. Normal programs can't just change the tag to cheat. This helps catch bugs and stop some attacks.

Hardware-Enforced Value Tags

A Tagged architecture is a computer design where values in memory carry extra, protected bits of metadata, called tags, describing their type or what they are permitted to do. The hardware itself carries the tags along and checks them during operations like loads, stores, arithmetic, and jumps, so a bit pattern can't be used as an instruction or a valid pointer just because software says so. This differs from type labels in a programming language, which the compiler tracks but the running machine doesn't enforce. Different designs tag different things: some mark pointers versus plain numbers, some attach unforgeable permission information to pointers, and some tag memory regions to catch stale accesses. Tags cost extra storage and only help if their integrity is protected; they don't prove the program's logic is correct.

 

A Tagged architecture makes semantic distinctions part of machine state: memory words, pointers, or other values carry protected metadata identifying their type, interpretation, authority, or permitted use, and hardware propagates and checks that metadata on load, store, arithmetic, branch, and memory access. Designs differ in granularity and enforcement. Burroughs systems tagged control and data words to support high-level languages; Lisp machines distinguished pointers from immediates; capability systems such as CHERI attach an unforgeable validity tag plus bounds, permissions, and provenance so ordinary byte stores cannot forge authority; memory-tagging schemes associate allocation tags with addresses and regions to catch mismatched or stale accesses. Garbage collection, dynamic typing, descriptor validation, compartmentalization, and code–data separation can all use tags, each with a different tag meaning. It is not the same as language-level type annotations, software-managed spare pointer bits, or a Harvard split between program and data memory. Its security depends on tag integrity, well-defined propagation, and coverage of DMA, caches, serialization, and untagged interfaces; tags cost storage or encoding space, can constrain compatibility, and do not establish that program logic is correct.

Scope of Application

  • Historical computer architecture. Burroughs and Lisp-machine designs show hardware support for high-level semantic distinctions.

  • Capability systems. CHERI-like validity tags combine unforgeability with bounds, permissions, and provenance.

  • Memory tagging. Address and allocation tags detect mismatched, stale, or cross-object accesses under a defined reuse policy.

  • Dynamic-language execution. Machine-visible type classes accelerate dispatch and reject invalid operations.

  • Garbage collection. Pointer-versus-immediate distinctions support tracing and descriptor validation.

Clarity

Tagged architecture makes protected metadata about type, interpretation, authority, or permitted use part of machine state and hardware enforcement. It is not merely software type information, spare pointer bits, or a debugging annotation. Clarity requires tag granularity, who may create or alter tags, propagation rules for each operation, exception behavior, and interaction with caches and memory. The sharper architecture question is which illegal reinterpretations or authority amplifications hardware prevents and whether tag integrity survives every data path, context switch, and external interface.

Manages Complexity

Tagged architecture compresses semantic and authority checks into protected metadata carried with values. The machine tracks tag class, creation rights, propagation rules, permitted operations, and exception behavior; hardware then rejects illegal reinterpretation at use time. Type tags, pointer tags, capability tags, memory-coloring tags, and information-flow labels form branches with different security goals. This structure prevents every instruction sequence from re-proving software invariants and makes violations local and diagnosable, while implementation review focuses on whether tags survive caches, registers, context switches, direct memory access, and external interfaces.

Abstract Reasoning

Tag-reading move. Interpret metadata attached to a word, pointer, capability, or memory unit before operating on its payload. Dispatch move. Use tags to select type-specific operations, access rules, representation, or garbage-collection treatment. Safety move. Detect invalid combinations or unauthorized uses at hardware, runtime, or language boundaries. Layout move. Trade tag width, alignment, address space, and checking cost against expressiveness and protection. Boundary move. Tagged architecture is not merely a software type annotation or a label in documentation; the tag must participate in machine or runtime semantics, and tags do not eliminate all memory errors.

Knowledge Transfer

Within the home domain. Tagged architecture transfers across processors, virtual machines, capability systems, garbage-collected runtimes, and dynamic-language hardware where metadata attached to words or references changes permitted interpretation or operation. Payload, tag, dispatch, access check, memory layout, and exception retain mechanistic roles. Beyond the home domain (B — shared abstract mechanism). Type-tagged data and labeled objects also pair content with control metadata, sharing metadata-governed semantics. Hardware enforcement, pointer representation, and machine instructions remain home-bound. A software annotation is not itself a tagged architecture, and tags do not guarantee full memory safety or semantic correctness.

Relationships to Other Abstractions

Local relationship map for Tagged architectureParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Tagged architectureDOMAINDomain-specific abstraction: Computer architecture — is a kind ofComputerarchitectureDOMAIN

Current abstraction Tagged architecture Domain-specific

Parents (1) — outgoing typed relations

  • Tagged architecture is a kind of Computer architecture Domain-specific

    Tagged architecture is a domain-specific kind of computer architecture under its frozen identity and differentia. Complete-catalog comparison found the corresponding live broader identity.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Tagged architecture sits in a moderately populated region (43rd percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Digital Circuit & Memory Architecture (12 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14