2024-05-13 04:21:03 +08:00
|
|
|
# Learn Rust, one exercise at a time
|
|
|
|
|
|
|
|
You've heard about Rust, but you never had the chance to try it out?
|
|
|
|
This course is for you!
|
|
|
|
|
2024-05-14 20:22:34 +08:00
|
|
|
You'll learn Rust by solving 100 exercises.
|
|
|
|
You'll go from knowing nothing about Rust to being able to start
|
|
|
|
writing your own programs, one exercise at a time.
|
2024-05-13 04:21:03 +08:00
|
|
|
|
|
|
|
> [!NOTE]
|
|
|
|
> This course has been written by [Mainmatter](https://mainmatter.com/rust-consulting/).
|
|
|
|
> It's one of the trainings in [our portfolio of Rust workshops](https://mainmatter.com/services/workshops/rust/).
|
|
|
|
> Check out our [landing page](https://mainmatter.com/rust-consulting/) if you're looking for Rust consulting or
|
|
|
|
> training!
|
|
|
|
|
2024-05-14 20:22:34 +08:00
|
|
|
## Getting started
|
2024-05-13 04:21:03 +08:00
|
|
|
|
2024-05-14 20:22:34 +08:00
|
|
|
Go to [rust-exercises.com](https://rust-exercises.com) and follow the instructions there
|
|
|
|
to get started with the course.
|
2024-05-13 04:21:03 +08:00
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
- **Rust** (follow instructions [here](https://www.rust-lang.org/tools/install)).
|
|
|
|
If `rustup` is already installed on your system, run `rustup update` (or another appropriate command depending on how
|
|
|
|
you installed Rust on your system)
|
|
|
|
to make your running on the latest version.
|
|
|
|
- _(Optional but recommended)_ An IDE with Rust autocompletion support.
|
|
|
|
We recommend one of the following:
|
|
|
|
- [RustRover](https://www.jetbrains.com/rust/);
|
|
|
|
- [Visual Studio Code](https://code.visualstudio.com) with
|
|
|
|
the [`rust-analyzer`](https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer) extension.
|
|
|
|
|
|
|
|
## Solutions
|
|
|
|
|
|
|
|
You can find the solutions to the exercises in
|
|
|
|
the [`solutions` branch](https://github.com/mainmatter/100-exercises-to-learn-rust/tree/solutions) of this repository.
|
|
|
|
|
|
|
|
# License
|
|
|
|
|
|
|
|
Copyright © 2024- Mainmatter GmbH (https://mainmatter.com), released under the
|
|
|
|
[Creative Commons Attribution-NonCommercial 4.0 International license](https://creativecommons.org/licenses/by-nc/4.0/).
|