A Low-level systems programming language that allows for memory safety.
Installation
sudo pacman -S rust rust-cargo
Compile and Run (rustc)
rustc file.rs
./file
Project Setup (cargo)
cargo new <projectname>
orcargo init
- After writing all files, do
cargo build
cargo run
will run the .rs file in/src
Concepts
- Rustc
- Rust Variables
- Rust Tuple
- Rust Functions
- Rust Conditional Statements
- Rust Match
- Rust Namespaces
- Rust Structs
- Rust Vector
- Rust Macro
- Rust Panic
- Rust Enums
- Rust Expect
- Rust ?
- Rust Iterators
- Rust Allow Unused Variables
- Rust FileIO
- Rust Strings
- Rust Regex