Rust
- Rust by example
- Rust book
- Lifetime Video
- Writing FreeBSD Kernel Modules in Rust
- Rust Macro Workshop
- Learning Rust (coming from python) awesome comment
- Rust CLI tools: alternatives to grep, cat, find, top, etc.
Hello Summary
fn main() {
println!("Hello World !");
}
Libraries
- itertools
- Tera: templating
- Tui Rs: build tui dashboard
- Refinery: db scheme versioning
- Rocket: makes API
- Erg: using rust in CLI
- Leptos: Build fast web applications with Rust.
- Extism: The cross-language framework for building with WebAssembly
- Arcshift: Replacement for
std::sync::Arc<T>
that supports updating the value, with some caveats. reddit discussion
Tips / Tricks
- https://thesquareplanet.com/blog/rust-tips-and-tricks/
- Support for developing in the Rust language is headed toward the kernel
Run single file with tests (avoid cargo)
rustc --test file.rs
FAQ
- Is ref in RUST more similar to C++ pointer, rather than C++ referene?
- Self Referential Structs in Rust
- Why async Rust?
- Analyzing Data 180,000x Faster with Rust (from Python) - careful, see also Analyzing Data 170,000x Faster with Python
- Leaving Rust gamedev after 3 years
- WhenFS: A FUSE filesystem for your Google calendar
- The One Billion row challenge in Rust (5 min -> 9 seconds)
Books
- Programming Rust, 2nd Edition by Jim Blandy, Jason Orendorff: written by C/C++ experienced user (good knowledge on memory usage). Smooth reading and better organization (dont have to jump from different pages) compared to the famous book The Rust Programming Language. Note that this book also considered you have knowledge in CS (C/C++).
- Rust Atomics and Locks by Mara Bos: advanced knowledge on threads