36
submitted 1 week ago* (last edited 1 week ago) by anything_but_windows@programming.dev to c/rust@programming.dev

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!

top 8 comments
sorted by: hot top new old
[-] emb@lemmy.world 4 points 6 days ago* (last edited 6 days ago)

I always thought this roguelike tutorial sounded fun. But it's probably pretty far out of date, not sure how much that matters.

[-] FizzyOrange@programming.dev 3 points 6 days ago

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.

[-] eager_eagle@lemmy.world 19 points 1 week ago
[-] Deebster@infosec.pub 10 points 1 week ago* (last edited 1 week ago)

(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.

[-] solrize@lemmy.ml 4 points 1 week ago* (last edited 1 week ago)

I read the Google book a while back and it seemed decent: https://google.github.io/comprehensive-rust/

I didn't like "The Rust Book" because it seemed too slow and patronizing, but that's probably just me.

You might also be interested in Ada or Haskell as a way to widen your perspective from C.

[-] roguelazer@lemmy.world 3 points 1 week ago
[-] hendrik@palaver.p3x.de 2 points 1 week ago* (last edited 1 week ago)

They have a few options right on their website: https://rust-lang.org/learn/

[-] nicoan@fosstodon.org 2 points 1 week ago

@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

this post was submitted on 22 Mar 2026
36 points (100.0% liked)

Rust

7898 readers
33 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS