this post was submitted on 27 Apr 2024
104 points (95.6% liked)

Rust

5754 readers
26 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
 

This was a really good summary of what Rust feels like in my opinion. I'm still a beginner myself but I recognize what this article is saying very much.

The hacker news comments are as usual very good too:

https://news.ycombinator.com/item?id=40172033

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 4 months ago (10 children)

@kaffiene @asdfasdfasdf Its slow when you dont know what youŕe doing. For example, build a linked list in #rustlang is different then build one in java, because you can´t leave the variables in a wrong state. It's only a different approach, not a slow approach.

[–] kaffiene 2 points 4 months ago (9 children)

OK. I'm dumb. There are dozens of languages where I appear to not be dumb using so I'll stick to them I guess

[–] asdfasdfasdf 1 points 4 months ago (8 children)

That's a sad attitude to have. Rust is really great, but it does have a learning curve. If you do want to give it a shot, just reach out online and there are many people who can help with suggestions.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (1 children)

@asdfasdfasdf @kaffiene As the friend above says, rust require some time and have a learning curve. Its very different, and thats why people gets strugling with the language. As you got proficience, it will save you hours of debug. I suffered with the learning curve also, but I needed to change the way I was think about how to program.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

@asdfasdfasdf @kaffiene I think build a linked list is the last stage of learning rust, because linked lists has circular references that can lead to memory leaks and other memory issues. Build one with rust is hard, because the compiler will not easy for you to make mistakes, but if you can write a linked list, you can write anything in rust. Try this book.

https://rust-unofficial.github.io/too-many-lists

load more comments (6 replies)
load more comments (6 replies)
load more comments (6 replies)