Introducing "The Land of Rust" — A Children's Book to Teach Rust

What a beautiful and honest story. Thank you for sharing it. :crab:

You said you’re “not so smart” and “just lucky”, but reading your journey – learning Fortran from your dad’s book at nine, debugging on graph paper without even a computer, then later teaching yourself Basic, C, and still coding for yourself after all these years – that’s not luck. That’s curiosity. And curiosity is the smartest thing there is.

I especially love what you said: “The simple concepts of programming are simple. A kid can do it if they are interested.”
That’s exactly the spirit I hoped for when writing this book. Not forcing, not “you must learn Rust because it’s the future”. Just: here’s a story, here’s a friendly crab, here’s a puzzle – try it if it makes you curious. If not, that’s fine too.

Your story also reminds me that the hard parts are hard. Even people with degrees struggle. And that’s okay. The “dark corners are fractal” – I’m going to remember that. It’s both comforting and humbling.

Thank you for being part of this little project, and for taking the time to write this. It means more than you know. :folded_hands:

Wishing you many more years of coding for yourself – with or without a computer, on paper or screen.
Keep being curious.

Jafar (huvaxstra)

I really appreciate you coming back to clarify. You’re absolutely right that some abstract concepts become easier for kids later, during puberty and beyond. That’s a very thoughtful point. I don’t think anyone expects a 9‑year‑old to fully grok lifetimes or async – that’s why those parts are marked for older readers (and even then, just as an introduction). The younger chapters (:seedling:) stay firmly in the “concrete, playful, let’s just make things work” zone.

And thank you for sharing that MS‑DOS story! Oh man, the sweaty hours trying to recover data without knowing the right tool… I think every self‑taught programmer has at least one story like that. :sweat_smile: It’s funny how those struggles stick with you, sometimes even more than the successes.

It makes me happy that this book – a tiny Rust book for kids – could bring back such memories for you. You’re proof that curiosity and stubborn tinkering beat any “natural talent”.

Thanks again for being part of this conversation. Your voice means a lot here.

Wishing you many more peaceful hours of coding (and maybe fewer sweaty data recovery sessions). :crab:

I did say I gave up. The way I remember is the book had some diagrams like flow charts to explain and the fortran to go with it.. The fortran part I couldn't quite get. Just the concepts of programing and basic output.

I can't claim to have come up with that. That is a quote from one the programing wizards of the past. I read a lot of programming stuff. Problem is I can't remember who said it and I can't find it by searching. Ritchie? Damn google is broken by AI and doesn't find things like it used to.

:crab: Major update: rewritten chapters 1–12, appendices, and a bonus async chapter

Hello again everyone,

First of all – thank you so much for all the thoughtful feedback you gave me a few weeks ago on the first 8 chapters. :heart:

I went back to the drawing board and rewrote chapters 1–10 completely, applied the same style to chapters 11–12, and also added two new optional pieces.

All of this is now .

:backhand_index_pointing_right: github.com/huvaxstra/land-of-rust/

:sparkles: What changed (based on your feedback)

  • Parent/educator sidebars in every chapter – plain‑English explanation of the concept + link to the official Rust book.
  • “Normalizing complexity” notes – friendly reminders that hard topics (ownership, lifetimes) are okay to struggle with.
  • Repositioned messaging – from “first programming language” to “become a computer wizard who understands how computers work under the hood” (thank you @marlez).
  • Strengthened metaphors – a consistent “Toy Town” world for ownership, borrowing, and lifetimes.
  • All code examples and illustration prompts preserved – only the explanations improved.

:books: What’s included now

  • Chapters 1–12 (Beginner + Intermediate levels)
  • Teacher’s Guide (v2.0) – updated with new tips and a “how to help a stuck child” section
  • Appendix A – The Story of Colored Stickers (Lifetimes deep dive) – moved out of Chapter 10, as several of you suggested.
  • :wrapped_gift: Bonus Chapter – Ferris’s Pearl Farm (Async programming made simple) – inspired by a beautiful metaphor from the very first GitHub issue.

:magnifying_glass_tilted_left: Where I’d still love your eyes

  • Parent/educator sidebars – do they feel helpful or too technical?
  • Normalizing complexity notes – encouraging, not discouraging?
  • Ownership metaphor (Toy Town) – does it work for ages 9‑11?
  • Bonus async chapter – is it accessible for motivated 15+ readers?

If you have time to skim even one or two chapters, I’d be extremely grateful.
You can open an issue directly on the branch, comment here, or email me.

Thank you again for making this project better. Ferris says hi. :crab:

/Jafar (huvaxstra)

Your link is 404, maybe you changed your branch name to "major-revision-may-2026" without updating the link?

Thank you, its fixed .

I have to disagree.

I'm 'the kid' (now in mid 70's) that built my first vacuum tube based radio at 4 yrs old. Of course everyone declared me to be a 'genius' but I guarantee you that if I was 'required' to learn a bunch of electroinc theory and algebraic formulas before embarking on that project I very likely would have lost interest in electronics all together.

So don't under estimate a child's sense of wonder and ability to learn when truly engaged.

The idea of a 'Rust Book for Kids' is a great idea, or it isn't. Learning Rust sans all the C family languages 'baggage' is not something I see people having done.

Regardless, the book idea is IMO something that needs to be tested in the real world, on real kids. Regardless of what we 'oldsters' think about it one way or the other.

So I say "Yes do it!"

I'm looking forward to its completion.

Hi @gihrig

Thank you so much for sharing your story — it really touched me. :folded_hands:

You're absolutely right: forcing theory before curiosity is a sure way to kill the spark. I actually learned that the hard way.

This book didn't start as a "project". It started as a small experiment with a group of kids (ages 7–12) in my neighborhood. I just sat with them, showed them Ferris the crab, and asked: "What if we could talk to computers using stories?"

Their reactions were… surprising. A 9-year-old grasped ownership faster than I expected — not by memorizing rules, but by playing with actual toys and acting out "who holds the tractor". A 7-year-old struggled with loops at first, but when we turned it into a "repeat-after-me" game with claps, it clicked.

That's when I realized: the concepts aren't too hard. The presentation is matter.

You actually confirm what I said. Better to start with something more appropriate for learners than having to deal with the most complex notions directly, or children very likely risk to find it daunting and give up on programming altogether.

I’m happy to announce:

:white_check_mark: 20 chapters fully written in Persian (complete beginner to advanced)

:white_check_mark: English chapters 1–12 rewritten based on your feedback (parent
sidebars, normalising complexity, “computer wizard” framing)

:white_check_mark: Bilingual interactive web demo (MVP) – all 20 chapters, live at

:backhand_index_pointing_right: Redirecting to The Land of Rust Interactive Edition...

:white_check_mark: Illustration prompts for ~100 images – ready for an artist

wanna look this : GitHub - huvaxstra/land-of-rust: Rust for absolute beginners (ages 9+): playful, safe and full of space adventures. · GitHub

Is there a bug with the "Next" button? It won't show if you change the language before the text autoplay ends

Thnaks for report. Yes . I will fix it soon.

:crab: The Land of Rust – 20 chapters complete, interactive demo in 5 languages, and a call for contributors

Hello Rustaceans,

Some of you may remember the story‑driven Rust book for kids I’ve been working on – “The Land of Rust”, with Ferris the space crab.

I’m happy to share that the project has reached a major milestone:

Why this project is different
Instead of dry explanations, every concept is taught through a continuous space adventure and concrete metaphors (toy borrowing club for ownership, yogurt expiration dates for lifetimes, pearl farm for async). No prior programming knowledge is assumed – the book starts from absolute zero.

What’s next (needs community help)

  • Professional illustrations (~100 images, prompts are ready)
  • AI tutor integration (GPT + safe code execution)
  • More translations (Spanish, German, Chinese, Japanese, etc.)
  • Full interactive platform with live Rust execution (WASM)

How you can help
:star: Star the repos
:bug: Open issues for typos or unclear explanations
:globe_showing_europe_africa: Help with translations
:artist_palette: Support the sponsorship campaign (see SPONSORSHIP.md)
:megaphone: Share with teachers, parents, or coding clubs

Live demo: https://huvaxstra.github.io/land-of-rust

Thank you to everyone who gave feedback on the early chapters – it really shaped the rewrite. And thank you to the Rust community for being so welcoming.

Let’s make Rust accessible to the next generation. :crab:

/Jafar (huvaxstra)

I did a quick test. The approach is cool, but I have a few remarks:

  • The language choice isn't registered, even though I disabled any extension that could refuse some cookies. It systematically goes back to Persian, even if I simply repeat a lesson.
  • Some animations doesn't give the time to see what's happening; for example, when running Cargo: I see a nice snow effect, I see that something's written, but then it disappears.
  • I think it would help someone who learns if it was possible to get back (when feasible) and exit to the main menu.
  • What do you mean by "AI tutor"? I sure hope you're not using AI to generate learning material or code, because it will be wrong at some point. It takes a very critical mind to use those tools, and I don't think learning children have reached that level yet.
  • Pressing SPACE seems to restart the animation, rather than expedite or pause it. The text animation is quite slow, so I was trying to get it to display a little faster.
  • When you give the installation instructions, it's not clear whether it's fictional or not. Children of those ages aren't entirely able to discern both, so you may want to give a hint that those can actually be used on a real PC to install the language. Or maybe a real intro? I think the problem is that you claim you'll teach a programming language, then you switch to a pure fictional narrative, then what? I think you've already lost your audience at that point.
  • It's also a little bizarre sometimes. E.g. first lesson: "The toolbox (rustup) contains the compiler (rustc). It translates our words into zeros and ones. Click below to download:"—which words? Do you mean a program? I don't think children have the background to fill the gaps, here. Will a button click actually download something? (I know the answer, but again, what about your target audience?)
  • The first lesson asks to select the correct keyword. How would a children know? Are they supposed to have read a book before doing it? Maybe I missed the prerequisites.
  • Once you select the correct keyword, it says the message has been sent. But it's only the next step that compiles and run the program...
  • Similar in 2nd lesson, where you sort of introduce crates (again, filling the gaps may be difficult). Why is the button named "Download 'rand' and Continue"? There's nothing to download, either in the fiction or in reality. Is that a helpful metaphor? Maybe I'm just too sceptical.
  • Those choices of keywords, symbols, and so on, aren't really explained. It all looks like a guess game to me (I'm not talking about the program built during the lesson). Maybe you want to explain things a little; Rust is already a debatable choice for a first language, but if you don't introduce and debrief each step properly, I'm not sure what the "student" will get out of it.

I guess it's a lot of bullets to say it should perhaps be a little more explanatory for someone discovering something entirely new. A lot of words, like immutable ("mutable" was missing in the text) must be considered unknown, at that point. I don't know if you tried it on real children to see their reaction, but it'd be interesting.

Hello @Redglyph all of notes are applied to interactive version.

@Redglyph again thanks for wonderfull review.