Rust: First Steps
Meeting Rust through one small program: a terminal todo list written without a single dependency. Two parts — the language and the traps in the first, the file, the errors and the tests in the second.
- Rust: First Steps. The Todo That Forgets Everything Install the toolchain, make a first project, and write a terminal todo list with zero dependencies. Along the way: ownership, the borrow checker and usize overflow, every one of them with the compiler's real output.
- Rust: First Steps. The Todo That Remembers The todo from part one loses everything on exit. We teach it to keep tasks in a file, step by step: modules and pub, Result and the ? operator, errors without unwrap, tests next to the code, a release build. Still zero dependencies.