A language empowering everyone to build reliable and efficient software.

Rust combines performance with memory safety and a thriving open-source community — from command-line tools and web services to embedded devices.

Version 1.98.1
main.rs
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}");
}
Install Rust in one line
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.

Why Rust?

Reliable and efficient, by design

The language, the toolchain, and the ecosystem all aim at one goal: software that does more with less, and never crashes when it matters.

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.

Reliability

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.

Productivity

Cargo, rustfmt, Clippy, and rustdoc ship with the language. Great documentation, a friendly compiler, and a helpful error format keep you moving fast.

Use cases

Build it in Rust

In 2018 the Rust community set out to improve the programming experience for a few distinct domains. Today the language excels across them all.

Command Line

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.

WebAssembly

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.

Networking

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.

Embedded

Target microcontrollers and bare-metal devices with a no_std-friendly ecosystem. Rust's guarantees help you write dependable firmware with fewer runtime surprises.

Rust in production

Trusted by hundreds of companies

From one-person startups to the world's largest platforms, teams choose Rust when performance, safety, and longevity matter.

1.98.1
Latest stable release, shipping every six weeks
90%+
Of developers say they want to keep using Rust
0
Garbage-collector pauses in your hot path
AWS Microsoft Google Meta Cloudflare Dropbox npm Discord
Get involved

Join the community

Rust is built in the open by thousands of contributors. There is a place for you, whatever your experience.

Read Rust

Follow the official blog, release notes, and community newsletters to stay current with the language and ecosystem.

Watch Rust

Conference talks, tutorials, and meetup recordings make it easy to learn from the people who build Rust and use it every day.

Contribute code

Improve the compiler, libraries, docs, or tooling. First-time contributors are welcomed with good-first-issue labels and mentorship.

Thanks

Rust is powered by people

Rust exists because of the time, code, and funding contributed by individuals and organizations around the world.

Individuals

Hundreds of volunteer contributors maintain the compiler, the standard library, documentation, and community programs. Every patch, review, and kind answer counts.

Corporate sponsors

Companies fund Rust through the Rust Foundation, supporting infrastructure, security work, and the people who keep the project healthy for everyone.

Get help!

Stuck? The community has you covered

Ask on the users forum, chat with the community, or search the documentation. Thousands of Rustaceans are happy to help.