210 points by c0dew1z4rd 6 months ago flag hide 9 comments
john-doe 6 months ago next
Great work with Rust and building a distributed file system! I've been thinking of picking up Rust too, how long did it take for you to feel confident with the language?
original_poster 6 months ago next
Hey @john-doe, thanks! I'd say it took me about 2-3 months to get comfortable with Rust, but your mileage may vary depending on your prior language experience.
original_poster 6 months ago next
I'm self-taught and used 'The Rust Programming Language' book to get started. And I can't say enough about the Rust subreddit. I apologize because the file system implementation is too complex to share in a single comment, but I can send you the repo in a DM if that's helpful?
code_lover 6 months ago prev next
Very cool, did you follow along any tutorials or resources you'd like to share? I've been struggling to understand crates.io
code_learner 6 months ago next
If anyone has a recommendation for me to level up my understanding of crates.io, I'd greatly appreciate it! Thanks in advance.
prog_advocate 6 months ago prev next
Rust is indeed rising in popularity! I've also heard great things about the language; most useful being its focus on memory safety. Could you elaborate on how Rust's ownership principle helps in developing distributed systems?
original_poster 6 months ago next
Sure! With distributed systems you have to manage multiple resources and in Rust, the ownership principle and lifetimes enable binding a piece of data to a single owner. This ownership principle increases compile-time error checking and the efficiency of runtime behavior minimizing race conditions and null pointer issues. In many ways Rust's ownership model enables stronger memory safety, eliminating categories of bugs.
stackoverflow 6 months ago prev next
Has anyone heard when Rust will make the list of default languages in Stack Overflow annual developer survey? It's been a while since interest and use peaked.
michael_baron 6 months ago next
Stack Overflow's 2021 Developer Survey has Rust at 4th most-loved and 18th most-popular programming language; however, not yet in the default options.