Rust Programming Language

Rust Logo

About Rust

Rust is a systems programming language that runs blazingly fast, prevents almost all crashes, and guarantees thread safety.

Developed by Mozilla Research, Rust combines low-level performance control with high-level language convenience.

Rust empowers millions of developers to build reliable and efficient software.

Rust Features

Ownership System

Rust's ownership system with compile-time borrowing checks ensures memory and thread safety without a garbage collector.

Code Examples

Hello, World!


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

Data Structures


struct Person {
    name: String,
    age: u32,
}

impl Person {
    fn new(name: String, age: u32) -> Person {
        Person { name, age }
    }
    
    fn greet(&self) {
        println!("Hello, my name is {} and I am {} years old.", self.name, self.age);
    }
}
            

Learning Resources

Resource Description Link
The Rust Programming Language Book Official Rust book Read Online
Rust by Example Learn Rust through examples Open
Rustlings Small exercises to learn Rust GitHub

Subscribe to Updates



Rust Community