Howdy! I already have some programming experience - i have taken 2 undergraduate-level courses in C - namely Computer Architecture an Operating Systems. My main interest in wanting to learn is that Rust seems to offer huge security benefits as compared to C.
Also if anyone knows a great beginner reference book please lmk! Peace out!
(edit: I see I missed the part about being fun, but I don’t know of better alternatives)
I learnt with the one on the main site, “the Rust book” which is good for explaining concepts and is (or certainly was) considered the standard textbook.
Rust by Example is good for a quick start in how to do various things, but imho is most valuable for experienced programmers and as a cheatsheet-style reference.
Once you start writing your own code, it’s useful to look at Blessed.rs to show what are the fairly standard options for basic libraries for logging, http, etc that you might have expected to be in the standard library. It’s useful to be pointed at something that’s good enough instead of spending hours investigating the various competing crates.
I always thought this roguelike tutorial sounded fun. But it’s probably pretty far out of date, not sure how much that matters.
I always like "by example"s for learning languages - here’s Rust’s.
I’d probably make a project with it. Maybe a CLI tool using clap_derive and some crate that does something neat that you want to do. Depends what you’re interested in I guess.
I wouldn’t recommend trying to do leetcode problems with Rust because they are obsessed with linked lists and linked lists are awkward in Rust.
Also I wouldn’t recommend making a game or GUI app with Rust yet since the ecosystems there are immature.
A microcontroller project using Embassy is probably a fun way to learn too but I haven’t actually tried it yet.
@anything_but_windows I usually like to mix my learning experience with an interesting toy project (https://github.com/codecrafters-io/build-your-own-x) along with the material suggested here
https://rust-unofficial.github.io/too-many-lists/
This is what I always recommend
They have a few options right on their website: https://rust-lang.org/learn/





