this post was submitted on 26 Sep 2023
10 points (81.2% liked)

Rust

5930 readers
33 users here now

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

Wormhole

[email protected]

Credits

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

founded 1 year ago
MODERATORS
 

Anyone have tutorial recommendations,

top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (2 children)

Aside from the usual recommendations of: The Rust Book and Rustlings.

I'd also recommend you try porting things you've made previously into rust. The amount of times I've ported something over and realised I could've done it better originally is too damn high.

[–] Walnut356 2 points 1 year ago* (last edited 1 year ago)

Counterpoint, i didnt like the rust book at all (as an inexperienced self taught ~6 months to a year into learning python at the time). Programming Rust and Rust In Action were far better.

[–] SpeakinTelnet 1 points 1 year ago

+1

You have to learn by using it, build your train of taught around the language you're learning. I learned COBOL and forgot it even faster as soon as my head wasn't in the books, never practiced it, probably wouldn't even recognize it now.

[–] Anders429 8 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

Coolio, much appreciated thank you

[–] [email protected] 8 points 1 year ago (2 children)

Please just do yourself a favor, and avoid tutorial hell. The Rust language book has 3 options for you to choose from. When you start feeling comfortable enough, try building a project, no matter how small it will be at the start

[–] autokludge 4 points 1 year ago (1 children)

I couldn't find what you meant by 3 options, care to elaborate?

[–] [email protected] 6 points 1 year ago

https://rust-lang.org/learn

Either read, learn by example, or use the rustlings mini-course

[–] [email protected] 2 points 1 year ago (1 children)

Yeah, probably easy to get lost in the weeds with a lower level language like Rust

[–] spicyemu 2 points 1 year ago (2 children)
[–] [email protected] 2 points 1 year ago (1 children)

Lower level than Python and lua

[–] spicyemu 1 points 1 year ago* (last edited 1 year ago) (1 children)

How about in relation to C?
Is there a good place to get an overview of different languages or what applications for which a language is suitable?

[–] [email protected] 1 points 1 year ago

I'm just starting out so I have no clue

[–] [email protected] 1 points 1 year ago
[–] dwraf_of_ignorance 7 points 1 year ago* (last edited 1 year ago) (1 children)

I suggest you watch this. TLDR is Use

  • "The Book"
  • Rustling
  • Rust by Example Most important get started.
[–] [email protected] 1 points 1 year ago
[–] KillTheMule 3 points 1 year ago (2 children)

Non-tutorial suggestion: I've you're stuck, put a demonstration of your problem on the rust playground, post it here with the question. People in rustland are generally very willing to help out, and the playground is a very helpfull tool for that.

[–] [email protected] 1 points 1 year ago

That's good to know, thank you kindly

[–] Anders429 1 points 1 year ago

This is a great point. Sharing a playground link means your problem is immediately reproducible. You'll be much more likely to receive assistance this way.

[–] uhN0id 3 points 1 year ago (1 children)

I recommend the official rust book (aka the documentation. It's truly fantastic) followed by this actual book https://www.zero2prod.com/

That combo not only taught me Rust concepts and the Rust "way" but also got me applying the knowledge in a way that gave me a lot of context. You don't need the zero2prod but I liked it more than any other paid books I've tried.

[–] [email protected] 1 points 1 year ago

Thank you kindly