Rust for Non-Systems Programmers
summary
Builds a small CLI that fetches OpenWeather, deserializes JSON into structs, compares today and yesterday, and prints a receipt style summary that actually prints to a thermal printer and shows a smiley for 60–80°F. Uses structopt for CLI, serde for parsing, reqwest for HTTP and the error crate for wrapped diagnostics. Naive implementation runs ~0.1s, tests exercise temp-delta logic, cloning is suggested as a practical workaround for reference headaches.
AI-written summary · about
chapters (7)
- 0:00Start
- 3:48Working Memory
- 5:20Generated Documentation for the Rand Crate
- 15:12Error Reporting
- 18:11Implementing Methods
- 20:18Config Test
- 21:48Primitive Types
related talks
31mDefense Against The Wrong Logic: Proactive Rust Coding
33mDeclarative programming in Rust
01h 42mIntroduction to Rust (for people who have never used a compiler)
19mRust Without Tears: A Guide to Avoiding Common Traps
38mMaking Rust Delightful
28mRust Irgendwie, Irgendwo, Irgendwann
30mRust: an alternative to high-level programming languages?
16mRust, For Science!
