Control with memory checks

Rust is used for software such as command-line tools, services, and components that need close control over computer resources. Its compiler checks how a program uses memory, catching many mistakes before the program runs.

Those checks can make some code harder to write at first, and they do not guarantee that a program has no bugs. Like C and C++, Rust can be used where performance matters, but the languages make different trade-offs in how developers manage memory.