Skip to content

Glossary: Rust Basics

Garbage collector

A helper in some other languages that frees unused memory while the program runs. Rust doesn't use one; its ownership rules, checked by the compiler, do the job.

Where the book teaches it

Related terms

OwnerHeap