Lifetime - CI/CD Glossary Definition
A lifetime is a compile-time annotation describing the span over which a reference is valid; the borrow checker uses lifetimes to prove no reference can outlive the data it points to, eliminating dangling pointers without runtime cost.
Related guides
Borrow Checker - CI/CD Glossary DefinitionA borrow checker statically enforces that references never outlive their data or alias mutably, catching use-…
Ownership - CI/CD Glossary DefinitionOwnership is a model where each value has a single owning binding responsible for freeing it, giving determin…
Zero-Cost Abstraction - CI/CD Glossary DefinitionA zero-cost abstraction is a high-level construct that compiles to code as efficient as a hand-written low-le…