A Low-level systems programming language that allows for memory safety.

Installation

sudo pacman -S rust rust-cargo

Compile and Run (rustc)

  1. rustc file.rs
  2. ./file

Project Setup (cargo)

  1. cargo new <projectname> or cargo init
  2. After writing all files, do cargo build
  3. cargo run will run the .rs file in /src

Concepts

Rust Boilerplate

fn main(){
	println!("Hello World!");
}