Rustlings VS book

Compare Rustlings vs book and see what are their differences.


:crab: Small exercises to get you used to reading and writing Rust code! (by rust-lang)


The Rust Programming Language (by rust-lang)
Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
Rustlings book
95 173
21,660 8,514
6.4% 4.5%
8.8 9.4
3 days ago 7 days ago
Rust Rust
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Rustlings. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-17.


Posts with mentions or reviews of book. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-24.
  • what do you tell people?
    1 project | | 26 Jan 2022
    Vegan first Arch second And if we have time, try and covert them to the good word
  • Let build an 8080 emulator in rust!
    1 project | | 25 Jan 2022
  • Hey Rustaceans! Got an easy question? Ask here (4/2022)!
    6 projects | | 24 Jan 2022
    It's in the source for the second edition which is no longer published:
    6 projects | | 24 Jan 2022
    The Rust book doesn't seem to mention it in section 3.2, although it does describe, eg. the syntax for integer literals of different bases. This might be an example of something that's omitted by accident simply because it was too obvious to the author; the 1e123 syntax is ubiquitous in modern programming and mathematics languages. Might be worth submitting an issue, however because the digital book is intended to be kept in sync with the deadtree version, it's not clear if or when the change would actually happen :/
  • The Spacing Effect
    1 project | | 23 Jan 2022
    I’ve used flash cards with Anki in the past for memorizing the IPA symbols, Swedish words, and a few other things. It worked pretty well.

    What I’ve realized recently while learning Rust (no Anki involved) is that, for me at least, new information needs something to “cling on” to. I wonder if this Spacing Effect is another facet of the same idea.

    My process with Rust was to first read most of The Book [0], and after this I had a decent understanding and I _thought_ I’d be able to write some code. The I tried (and mostly fumbled) writing some code. But it turned out I couldn’t remember much of the syntax, nor the finer details of how the borrowing system worked. Most of the stuff I’d read hadn’t really stuck.

    After some time coding I went back and reread parts of The Book that I was fuzzy on, and those things came into clearer focus, and I was able to get further with the code.

    The cycle repeated itself a few times - first with basic syntax, then with how to specify generic types, then with various ways I tangled myself up with the borrow checker, then lifetimes, then how to write iterators. With each stage I needed the sum of my previous experience PLUS another visit to either The Book or Programming Rust or some other explanation. Reading it all up front wasn’t good enough; ingesting the info needed to come at the right time.

    I’ve seen this a lot also with people learning to code (especially in the web dev world), where they’ll watch a whole course and then lament that they still can’t build anything on their own. I think it’s the same core issue: too much information-up-front with nothing for it to stick to.


  • New to Rust. Would love your help in trying to simplify my bloated (probably VERY WRONG) code.
    2 projects | | 22 Jan 2022
    If you are new to rust and don't know what lifetimes are you should definitely check out the rust book ( I can also suggest starting with small exercises (for example with )
    2 projects | | 22 Jan 2022
    Welcome to Rust! Reading through The Book would probably help you more than Reddit comments. It's an excellent free resource called [The Rust Programming Language](
  • Learning Rust
    1 project | | 22 Jan 2022
    The Book
  • Failing to Learn Zig via Advent of Code
    1 project | | 17 Jan 2022
    Advent of Code is great for practicing Rust, but honestly because of how foreign the borrow checker can be to a newbie you really need to have gone through the fundamentals with something like The Book before you can dive in and mess around. I bounced off Rust pretty hard the first time around because I tried to just learn by experimenting like I do with other languages, but once I read the book, learning was a breeze.
  • What do the "| |" characters do?
    2 projects | | 14 Jan 2022
    I highly recommend you check out the rust book, in particular chapter 13 on closures. It's a closure!

What are some alternatives?

When comparing Rustlings and book you can also consider the following projects:

solana-program-library - A collection of Solana-maintained on-chain programs

rust-learning - A bunch of links to blog posts, articles, videos, etc for learning Rust

rust-by-example - Learn Rust with examples (Live code editor included)

rust-koans - Koans for the Rust programming language

nomicon - The Dark Arts of Advanced and Unsafe Rust Programming

github-cheat-sheet - A list of cool features of Git and GitHub.

sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL.

rust-analyzer - A Rust compiler front-end for IDEs

HandsOnRust - The source code that accompanies Hands-on Rust: Effective Learning through 2D Game Development and Play by Herbert Wolverson

Vcpkg - C++ Library Manager for Windows, Linux, and MacOS

rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab: