Glossary · Term

copy-on-write

← all terms

Definition

A computer trick where two programs share the same data until one tries to change it, and only then a real copy gets made.

A memory and storage optimization in which duplicated state is held by reference and physical copying is deferred until a write occurs; underlies Unix fork, OverlayFS, and reflink-based snapshots.

Also called: CoW

Mentioned in 1 episode

  1. 068
    The OS Trick That Makes Tree Search Practical for Coding Agents