Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
1

100-exercises-to-learn-rust

> DevOps
Open source

A self-paced course to learn Rust, one exercise at a time.

9.4K stars0 likes2 views
WebsiteGitHub

About

A self-paced course to learn Rust, one exercise at a time.

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!

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.

[!NOTE] This course has been written by Mainmatter.
It's one of the trainings in our portfolio of Rust workshops.
Check out our landing page if you're looking for Rust consulting or training!

Getting started

Go to rust-exercises.com and follow the instructions there to get started with the course.

Requirements

  • Rust (follow instructions here).
    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 sure you're running on the latest stable version.
  • (Optional but recommended) An IDE with Rust autocompletion support. We recommend one of the following:
    • RustRover;
    • Visual Studio Code with the rust-analyzer extension.

Solutions

You can find the solutions to the exercises in the solutions branch of this repository.

License

Copyright © 2024- Mainmatter GmbH (https://mainmatter.com), released under the Creative Commons Attribution-NonCommercial 4.0 International license.

Issues· 52 open

View all issuesOpen on GitHub
  • #359

    Factorial doesn't work

    Updated Sep 12, 2026
  • #352

    8.2: tokio spawn + .async?

    Updated Jun 27, 2026
  • #351

    Need to use "move" in chapter 7.1 ("Threads")

    Updated Jun 27, 2026
  • #277

    Contradiction in section 7.11

    Updated Jun 15, 2026
  • #286

    `move` not needed?

    Updated Jun 9, 2026
  • #329

    Paper/PDF table of contents shows "Intro" instead of chapter title for chapters 6 and 7.

    Updated Jun 9, 2026
  • #202

    Mention that combinators are lazy

    Updated Jun 9, 2026
  • #211

    05_tickets_v2 03_variants_with_data.md Bindigs explanation error

    Updated Jun 9, 2026
  • #247

    04/Traits/07_Deref std::String::trim

    Updated Jun 9, 2026
  • #289

    02 - Basic Calculator - If/Else nonsensical example

    Updated Jun 9, 2026

> Tags

Rustexerciseslearning-by-doingrust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理