r/coolgithubprojects • • 1h ago

Rust for Everyone: a free beginner Rust book you can read right on GitHub, in 15 languages, with a PDF for each

Post image

Repo: https://github.com/erkamyaman/rust-anything

I made this. It's a free beginner book that lives in the Rust Anything repo (13k stars), written to be read right on GitHub.

What makes it a bit different:

- Every Rust example was compiled and run with rustc 1.97 before it went in. 116 checked by a script, 4 built as real Cargo projects, 0 failed.

- Each chapter: guess the output first, put scrambled lines in order, then build something small. Answers at the back.

- The last chapter builds a small CLI, `wordfreq`, from a blank file.

- 15 languages, each with a PDF. The code and compiler output stay in English everywhere, so it matches your terminal.

PDFs:

- English: https://github.com/erkamyaman/rust-anything/blob/main/book/en/rust-for-everyone-en.pdf

- 简体中文: https://github.com/erkamyaman/rust-anything/blob/main/book/zh/rust-for-everyone-zh.pdf

- All 15: https://rustanything.ai/docs/learn/rust-for-everyone

The 14 translations are AI drafts with no native-speaker review yet. If you read one natively, fixes are welcome (book/REVIEWING.md).

Free, CC BY 4.0.

Repo: https://github.com/erkamyaman/rust-anything

0 Upvotes

2 comments sorted by

2

u/Imnotanad 42m ago

Good. I'll put my AI agent to read

2

u/realrealvantheman 22m ago

Oh leme get my ai agent to read this ai slop and summarize it so i can feed it one ear and let it fall right out the other