mainmatter/100-exercises-to-learn-rust

Rustrust-exercises.com

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

exerciseslearning-by-doingrust
Star Growth
Stars
9.5k
Forks
2.2k
Weekly Growth
+12
Issues
29
4k6k8k
May 2024Feb 2025Nov 2025Aug 2026
Artifactscrates.io
README

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:

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.

Related repositories
rust-lang/rustlings

:crab: Small exercises to get you used to reading and writing Rust code!

Rustcrates.iotutorialMIT Licenserustrustlings
rustlings.rust-lang.org
64.1k11.3k
hasaneyldrm/exercises-dataset

1,324-exercise fitness dataset — animation GIFs, 180×180 thumbnails, muscle-group & equipment data, and step-by-step instructions in 6 languages. The exercise data layer behind the LogPress app.

HTMLOtherfitnessfitness-app
21.6k2.7k
inancgumus/learngo

❤️ 1000+ Hand-Crafted Go Examples, Exercises, and Quizzes. 🚀 Learn Go by fixing 1000+ tiny programs.

GoGo ModulestutorialOthergolanggo
twitter.com/inancgumus
20.1k2.7k
origin-brain/rust-by-practice

Rust By Practice will evolve into Origin.

Rustcrates.iotutorialCreative Commons Attribution 4.0 Internationalrustpractice
practice.course.rs
14.8k1.2k
rougier/numpy-100

100 numpy exercises (with solutions)

PythonPyPItutorialMIT Licensepythonnumpy
14.4k6.9k
labex-labs/python-cheatsheet

Python Cheatsheet - interactive hands-on course by LabEx.

VuetutorialMIT Licensepythoncourse
labex.io/courses/python-cheatsheet
5k1.3k
ratfactor/ziglings

Learn the Zig programming language by fixing tiny broken programs.

tutorialMIT Licenseexerciseslearning-by-doing
4.7k459
alexgurr/react-coding-challenges

A series of ReactJS coding challenges with a variety of difficulties.

SCSSinterviewcoding-challengesjavascript
3.4k1.1k
yuhonas/free-exercise-db

Open Public Domain Exercise Dataset in JSON format, over 800 exercises with a browsable public searchable frontend

VueThe Unlicenseexerciseexercises
yuhonas.github.io/free-exercise-db/
1.9k482
learnbyexample/py_regular_expressions

Learn Python Regular Expressions step by step from beginner to advanced levels

PythonPyPItutorialMIT Licensepythonregular-expressions
learnbyexample.github.io/py_regular_expressions/
1.8k229
ptyadana/SQL-Data-Analysis-and-Visualization-Projects

SQL data analysis & visualization projects using MySQL, PostgreSQL, SQLite, Tableau, Apache Spark and pySpark.

Jupyter NotebooktutorialMIT Licensesqlmysql
1.8k578
EmNudge/watlings

Learn WebAssembly by writing small programs!

JavaScriptnpmtutorialThe Unlicenseexercisesguide
watlings.emnudge.dev
1.8k43