2024-05-13 04:21:03 +08:00
|
|
|
# Learn Rust, one exercise at a time
|
|
|
|
|
2024-05-24 23:00:03 +08:00
|
|
|
You've heard about Rust, but you never had the chance to try it out?\
|
2024-05-13 04:21:03 +08:00
|
|
|
This course is for you!
|
|
|
|
|
2024-05-24 23:00:03 +08:00
|
|
|
You'll learn Rust by solving 100 exercises.\
|
2024-05-14 20:22:34 +08:00
|
|
|
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]
|
2024-05-24 23:00:03 +08:00
|
|
|
> 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/).\
|
2024-05-13 04:21:03 +08:00
|
|
|
> 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
|
|
|
|
|
2024-05-24 23:00:03 +08:00
|
|
|
- **Rust** (follow instructions [here](https://www.rust-lang.org/tools/install)).\
|
2024-05-13 04:21:03 +08:00
|
|
|
If `rustup` is already installed on your system, run `rustup update` (or another appropriate command depending on how
|
|
|
|
you installed Rust on your system)
|
2024-05-16 02:00:48 +08:00
|
|
|
to make sure you're running on the latest stable version.
|
2024-05-13 04:21:03 +08:00
|
|
|
- _(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/).
|