** Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement! **
Please refer to Tips on rustup for installing Rust using rustup (the recommended way for most users), and Install a Standalone Version of Rust in Linux for installing a global standalone version of Rust.
Install a Newer Version of Rust via PPA on Ubuntu
sudo apt-add-repository ppa:ubuntu-mozilla-security/rust-updates sudo apt-get update sudo apt-get install rustc
For details of the PPA ubuntu-mozilla-security/rust-updates, please refer to PPA for preparing rust toolchain updates for Firefox .
cargo: package manager for Rust
rustup: version manager for Rust
rustc: compiler for Rust
Conditional Compilation in Rust
https://users.rust-lang.org/t/conditional-compilation-for-debug-release/1098 Conditional compilation for debug/release
Key Concepts in Rust
Moves, copies and clones in Rust
General Tips and Traps
Common newbie mistakes or bad practices Common Newbie Mistakes and Bad Practices in Rust: Bad Habits
Iterator::for_eachis preferred over a
..) is preferred over
..=). For detailed discussions, please refer to Big performance problem with closed intervals looping #45222 , Performance difference among Range, RangeInclusive and reversed , Why is iterator so much faster? and Why does iteration over an inclusive range generate longer assembly in Rust? .
Popular Rust Libraries
Please refer to Useful Rust Crates for detailed discussions.
Please refer to Rust for Machine Learning for detailed discussions.
Parallel, Multithreading and Concurrency in Rust
is a concurrency permutation testing tool for Rust.
This project is the home for Sanitizers: AddressSanitizer, MemorySanitizer, ThreadSanitizer, LeakSanitizer, and more The actual code resides in the LLVM repository. Here we keep extended documentation, bugfixes and some helper code.
rayon A data parallelism library for Rust.
Optimize Compiling of Rust Projects
Fast Rust Builds has a detailed discuss on how to optimize the compiling time of rust projects.
Cool Rust Projects
Good Blogging on Rust
Jon Gjengset's Video Tutorials (Medium to Advanced)