gitwtfhub

wtf is rustlings?

driventokill/rustlings — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2023-04-15

RustAudience · vibe coderComplexity · 1/5DormantSetup · easy

TL;DR

Rustlings teaches you Rust by having you fix small broken code exercises, building real debugging skill instead of just reading theory.

Mindmap

mindmap
  root((Rustlings))
    What it does
      Fixes broken code
      Learn by doing
      Reads compiler errors
    Tech stack
      Rust
      CLI tool
      GitHub Codespaces
    Use cases
      Learn Rust basics
      Pair with The Book
      Practice ownership
    Audience
      Rust beginners
    Setup
      Install locally
      Run in browser
      Works on all OS

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Learn Rust fundamentals like variables, loops, and functions by fixing intentionally broken exercises.

REASON 2

Practice reading and understanding Rust compiler error messages, a key skill for real Rust projects.

REASON 3

Pair each Rustlings exercise with the matching chapter in Rust's official book for hands-on reinforcement.

REASON 4

Try Rust for the first time in your browser using GitHub Codespaces or Gitpod without installing anything.

What's in the stack?

Rust

How it stacks up

driventokill/rustlings0xr10t/pulsefi404-agent/codes-miner
Stars00
LanguageRustRustRust
Last pushed2023-04-15
MaintenanceDormant
Setup difficultyeasyhardmoderate
Complexity1/54/53/5
Audiencevibe coderdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 30min

Can be run locally or entirely in the browser via GitHub Codespaces or Gitpod, no local install required.

License information is not specified in the explanation.

Wtf does this do

Rustlings is an interactive coding tutorial that teaches you the Rust programming language by having you fix broken code. Instead of reading theory, you write and debug real code, which helps you learn both the language itself and how to read compiler error messages, a crucial skill when working with Rust. Here's how it works: You install the tool on your computer, and it gives you a series of small exercises organized by topic (like variables, loops, functions, ownership, and so on). Each exercise is a small Rust program that's intentionally broken or incomplete. Your job is to read the code, understand what's wrong, and fix it. The tool automatically checks your solution and moves you to the next exercise. You can run exercises one at a time, go through them in the recommended order, or ask for hints when you're stuck. Rustlings is designed for people who are brand new to Rust and want a hands-on learning experience. It works well alongside The Book, which is Rust's official comprehensive guide, you can read about a concept, then immediately practice it with Rustlings. The project is flexible: you can work through it at your own pace, either on your local machine or in your browser using GitHub Codespaces or Gitpod. It runs on Windows, Mac, and Linux. One of the nice things about this approach is that you're learning by doing, not just reading. By the time you finish, you've written dozens of small programs and learned to interpret Rust's compiler messages, which prepares you much better for real projects than passive learning would. After you complete Rustlings, the README encourages you to apply what you've learned by building your own projects or contributing to open-source code.

Yoink these prompts

Prompt 1
Help me install Rustlings and run my first exercise on my machine.
Prompt 2
I'm stuck on a Rustlings ownership exercise, explain what the compiler error means and give me a hint, not the full answer.
Prompt 3
Walk me through setting up Rustlings in GitHub Codespaces so I can learn Rust in my browser.
Prompt 4
What order should I go through the Rustlings exercises in, and which topics from The Book should I read alongside each one?

Frequently asked questions

wtf is rustlings?

Rustlings teaches you Rust by having you fix small broken code exercises, building real debugging skill instead of just reading theory.

What language is rustlings written in?

Mainly Rust. The stack also includes Rust.

Is rustlings actively maintained?

Dormant — no commits in 2+ years (last push 2023-04-15).

What license does rustlings use?

License information is not specified in the explanation.

How hard is rustlings to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is rustlings for?

Mainly vibe coder.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.