Practice Rust with challenging exercises that fill the gap between learning and real projects

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Rust learners who finish tutorials but stall on real code get a free, browser-accessible exercise set, MIT-licensed at practice.rs, no setup required.

Read this as

Rust by Practice is a free, open-source book of coding exercises for Rust, a programming language known for its strict rules around memory and safety. It sits between beginner tutorials and real-world projects: you get problems to solve, from filling in blanks to writing small programs, arranged from easy to hard. You can try it in a web editor with no installation, and the code is MIT-licensed, meaning anyone can use or contribute to it. No usage numbers or contributor counts are given.

The open-source Rust by Practice project, already hosted at practice.rs and on GitHub under an MIT license, offers structured exercises targeting the gap between tutorials and production Rust work. For teams training engineers in Rust, it is a free supplement to The Book and Rustlings rather than a replacement. No corporate backing, maintenance commitments or adoption figures are stated, so its long-term upkeep depends on community contributions.

Rust by Practice (github.com/sunface/rust-by-practice) organises exercises into chapters of increasing difficulty covering pattern matching, generics, async, traits, ownership transfers, error handling and lifetimes. Formats range from fill-in-the-blank to full programs, with Markdown problem files, code stubs, a solution branch and hints per exercise. A web editor removes local setup. Limitations: it is not a tutorial and offers no hand-holding; no exercise counts or difficulty metrics are published.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Rust by Practice Rust practice.rs Rustlings GitHub sunface

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading