Welcome to my Rust self-learning repository! This repository serves as a personal tracker for my progress in learning Rust, combining both theory and practice. If you're also on the journey to learn Rust, feel free to use this repository as a resource.
- Theory: Follow the official Rust documentation here.
- Practice: Work through exercises from the Rustlings repository.
Special thanks to my friends Nho and Khoa for accompanying me.
To get started with Rust on Windows:
- Follow the official installation guide here.
- Consider trying Rust without Visual Studio (TBD).
- Install the
rust-analyzer
extension in Visual Studio Code (VSC).
The rust-analyzer
extension is a powerful tool that:
- Suggests errors in your code and often provides fixes.
- Requires a Cargo.toml file to function.
- Is most effectively used by creating projects with
cargo new
. For examples, see Lec1 and Lec12 or watch this video tutorial
This repository is intended to track my personal progress in learning Rust. However, if you find it useful, feel free to use it as a learning resource.
The notes in this repository summarize key concepts from the Rust documentation.
NOTE for learner:
- A prior knowledge of programming is recommended.
- Familiarity with C++, Python, or JavaScript can be very helpful.
- These notes are mainly intended for revising concepts before tackling exercises.
- Some sections are marked as TBD and may be covered in the future. For more detailed information, refer to the Rust documentation.
- It’s recommended to read from the beginning, as some lectures build on concepts covered in earlier ones.
This section contains exercises sourced from the Rustlings repository.
NOTE for learners:
- It is recommended to read the theory section first to better understand the concepts before attempting the exercises.
- Some exercises are currently incomplete and may be added in the future.
Thank you for checking out my Rust learning journey.