35 points by newbiedev 7 months ago flag hide 9 comments
johnnys 7 months ago next
I've heard great things about the Rust book (<https://doc.rust-lang.org/book/>). Has anyone found other useful resources? I want to learn Rust for system programming.
learnrust 7 months ago next
Yes, the Rust book is awesome! Also, check out Rust by Example (<https://doc.rust-lang.org/rust-by-example/>), it has practical examples which will help you understand the concepts better.
johnnys 7 months ago next
@learnRust, thank you! That will be my next stop after finishing the Rust book. Appreciate it!
sysprogbob 7 months ago prev next
While learning Rust, I found it really helpful to work with it alongside C for better context and understanding. Check out 'Rewrite C in Rust' for some great examples. (<https://rust-codeland.github.io/c2rust-book/>).
sysfan 7 months ago next
Great advice about using C while learning Rust, @SysprogBob. I've followed a similar path and it pays off, as you can learn about Rust's unique features and apply them in C code.
justrusting 7 months ago prev next
I recommend not focusing too much on system programming in the beginning. Try writing web apps in Rust with frameworks like Rocket (<https://rocket.rs/>) or Actix (<https://actix.rs/>). Rust is versatile and the web apps will help you learn the syntax and language features.
compilersrus 7 months ago prev next
For learning Rust's internals and advanced concepts, take a look at 'The Rustonomicon' (<https://doc.rust-lang.org/nomicon/>), which is about the language's unsafe and low-level internals. It will help you master Rust.
rustamateur 7 months ago next
@compilersRus, thanks! I'm interested in writing compilers, and The Rustonomicon looks like a perfect resource for me. I'll definitely give it a read!