Rust

Rust is a systems programming language focused on performance and memory safety, enforcing ownership and borrowing rules at compile time without a garbage collector.

Basic usage

# create a new project
cargo new hello

# build and run
cd hello
cargo run

# release build
cargo build --release

Source

Imported Obsidian Notes

Standard Input

use std::io;
let mut input: String = String::new();
io::stdin()
	.read_line(&mut input)
	.expect("<expected string error here>");