Performance
Rust is blazingly fast and memory-efficient, with no runtime or garbage collector. It powers performance-critical services and runs comfortably on embedded devices.
Rust combines performance with memory safety and a thriving open-source community — from command-line tools and web services to embedded devices.
fn main() {
// Fearless concurrency, zero-cost abstractions
let greeting = "Hello, Rust!";
println!("{greeting}");
let numbers = [1, 2, 3];
let sum: i32 = numbers.iter().sum();
println!("sum = {sum}");
}
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
This installs rustup, the official Rust toolchain installer, and keeps rustc and cargo up to date. Read the full install guide for platform-specific notes.
The language, the toolchain, and the ecosystem all aim at one goal: software that does more with less, and never crashes when it matters.
Rust is blazingly fast and memory-efficient, with no runtime or garbage collector. It powers performance-critical services and runs comfortably on embedded devices.
Rust's rich type system and ownership model guarantee memory-safety and thread-safety, eliminating whole classes of bugs at compile time. Errors are caught before your users see them.
Cargo, rustfmt, Clippy, and rustdoc ship with the language. Great documentation, a friendly compiler, and a helpful error format keep you moving fast.
In 2018 the Rust community set out to improve the programming experience for a few distinct domains. Today the language excels across them all.
Whip up a CLI tool quickly with a dependency-free, easy-to-distribute binary. Cargo makes shipping and cross-compiling painless, so your users just download and run.
Compile Rust to WebAssembly for fast, small, portable modules that run on the web and at the edge. Tight control over memory makes it ideal for performance-critical front-end code.
Rust gives you the low-level control needed for modern network services without sacrificing safety. Blazing-fast, predictable binaries make it a natural fit for servers and proxies.
Target microcontrollers and bare-metal devices with a no_std-friendly ecosystem. Rust's guarantees help you write dependable firmware with fewer runtime surprises.
From one-person startups to the world's largest platforms, teams choose Rust when performance, safety, and longevity matter.
Rust is built in the open by thousands of contributors. There is a place for you, whatever your experience.
Follow the official blog, release notes, and community newsletters to stay current with the language and ecosystem.
Conference talks, tutorials, and meetup recordings make it easy to learn from the people who build Rust and use it every day.
Improve the compiler, libraries, docs, or tooling. First-time contributors are welcomed with good-first-issue labels and mentorship.
Rust exists because of the time, code, and funding contributed by individuals and organizations around the world.
Hundreds of volunteer contributors maintain the compiler, the standard library, documentation, and community programs. Every patch, review, and kind answer counts.
Companies fund Rust through the Rust Foundation, supporting infrastructure, security work, and the people who keep the project healthy for everyone.
Ask on the users forum, chat with the community, or search the documentation. Thousands of Rustaceans are happy to help.