What is Rust and where it runs

Contents
What Rust is
Where Rust runs
Memory safety without garbage collection
Systems, web, embedded

What Rust is

Rust is a compiled programming language focused on safety and speed.

The compiler checks memory use at build time, so many bugs are caught before the program ever runs.

Every example in this course follows the same shape: a main function that prints one line.

fn main() { println!("Hello, Rust"); }

Where Rust runs

Rust runs on common desktop and server systems such as Linux, macOS, and Windows.

One codebase can produce a native binary for each target, so deployment is often a single file with no extra runtime to install.

That makes Rust practical for tools that must start fast and run with small memory use.

Memory safety without garbage collection

Rust gives memory safety without a garbage collector.

Ownership and borrowing rules let the compiler prove that each value has one clear owner and that references stay valid.

The result is fast code that avoids data races and use after free errors without pauses for collection.

Systems, web, embedded

Typical domains include systems tools, command line utilities, network services, embedded firmware, and browser modules built with WebAssembly.

Beginners meet the same core ideas in every domain: strict types, explicit handling of missing values, and clear error messages from the compiler.

Next: Install Rust

Article author: Arthur Isaev

Related articles
Rust
Rust course: zero to hero in 50 lessons
What is Rust and where it runs
Install Rust
cargo new
Your first program
Variables
Numbers
Strings
Booleans
Tuples
Arrays
Vectors
Slices
if and else
match
Loops
Ownership
Borrowing
Lifetimes
Functions
Structs
Enums in Rust
Advanced match in Rust
Option combinators in Rust
Result and the question mark in Rust
Advanced strings in Rust
Vec methods in Rust
HashMaps in Rust
Modules in Rust
Crates and workspaces in Rust
Testing in Rust
Error handling
Traits
Generics
Trait bounds
Closures
Iterators
Smart pointers
Threads
Mutex and Arc
Files
CLI arguments
Environment variables
Diagnostics
Time
Parsing strings
TCP networking
Capstone: wordfreq CLI
Capstone: tiny HTTP server
Modern Rust tour
Hero roadmap: the whole course on one page
Install Rust on Windows 11
Install Rust on Ubuntu
Install Rust on Rocky Linux
Install Rust on macOS
Install Rust on FreeBSD
Rust in Docker

Search this site

Channel @aofeed Chat @aofeedchat

Contacts and cooperation:
I recommend our hosting beget.com
Write to info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: