Why Rust Over C++(Ownership, Borrowing)
Arc(Atomically Reference Counted)
Automated Tests
Cargo
What is cargo, Files(Cargo.toml), Commands (cargo build,
cargo clippy,
cargo doc,
cargo install,
cargo publish)
Collections:
String
Crates:
lib.rs Library
(Create Shared Lib in Rust)
Database Interaction:
Diesel ORM,
diesel-cli
enum: Option
Frameworks:
Dioxus (Frontend, Backend)
Dynamic Dispatch
Functions: Closure, .map(), .collect(),
.iter()
Key Features
Install
Libraries:
anyhow (error handling)
Lifetime
Logging: Compared(log vs tracing
vs slog vs log4rs), log(facade),
tracing (spans + structured),
slog,
log4rs
macro
Modules
Reference = Borrowing
Slice
Smart Pointers (Rc<T>)
Traits Types( Copy, Clone, default, drop, future,
iterator, Send, Sync, future)
Tokio Runtime
Unsafe
Wasm (WebAssembly)