Introduction
Rust is a systems programming language focused on memory safety, performance, and concurrency. Rust 1.0 was released in 2015. It overlaps with C++ in some use cases, but neither language is a universal replacement for the other.
Installation
Use rustup to install and manage Rust toolchains; it installs the stable toolchain by default. Follow the instructions on the official Rust installation page for your operating system.
Hello World
Create a binary project with cargo new, then put this code in src/main.rs. cargo run builds and runs it.
| |
| |
Documentation
Try Rust on the Web
To experiment without installing a compiler, use the Rust Playground.
