Rust Language
Why Use Rust
Section titled “Why Use Rust”- Performance metrics
- Memory safety
- Different production usage
- Cloud and desktop applications
- Large technology company usage and support
- Linux kernel
- Programmer preference and productivity
Use Cases
Section titled “Use Cases”- Performance critical applications due to speed and memory efficiency and no garbage collection
- Reduced security vulnerabilities due to memory safety
- Example: operating systems, user facing systems
- Other examples:
- Command line applications
- Application Programming Interfaces (API)
- Distributed systems
- Front end
- WebAssembly
- Systems:
- Databases
- Security
- Data
- Devices
- Other
- Virtual reality
- Blockchain
Learning Rust Tips
Section titled “Learning Rust Tips”- Beginner learning
- Read Rust book (twice)
- Rustlings exercises, redo ones important to you
- Rust by Example
- Use
cargo clippy
cargo packages (can use cargo binstall):
- sccache for caching compiled packages
- irust - repl
- bacon - clippy and build, test - compilments LSP editor for help
- cargo-info - check crates
See Also
Section titled “See Also”- The Rust Programming Language, The Book - The Rust Programming Language, The Book
- Rust Cargo Snippets - Rust Cargo Snippets
- Neovim Language Server Protocol (LSP) - Neovim Language Server Protocol (LSP) - includes setup for Neovim with Rust
- Rust on Windows - Rust on Windows
- Rust Libraries - Rust Libraries
Resources
Section titled “Resources”-
Learning
- The Rust Programming Language Book
- Rust in Action (book)
- Rust By Example - examples source code
- Rustlings - 🦀 Small exercises to get you used to reading and writing Rust code!
- GitHub - ctjhoa/rust-learning: A bunch of links to blog posts, articles, videos, etc for learning Rust