Exercises to Learn Rust
rust-exercises.com
Exercises to Learn Rust
1–10 of 129 posts
Re: Exercises to Learn Rust
#2Re: Exercises to Learn Rust
#3Re: Exercises to Learn Rust
#4> cargo install --locked workshop-runner
I have no idea what this program / package manager is so I was going to throw my hands up and say great another mac-only tutorial, but apparently this is a package manager for rust, and also apparently it comes pre-installed on manjaro lol
edit:
I'm confused, on the home page I clicked "next" which takes me to this exercise: https://rust-exercises.com/01_intro/01_syntax but on that ostensibly "first" exercise they write:
> The previous task doesn't even qualify as an exercise, but it already exposed you to quite a bit of Rust syntax. Let's review the key bits!
And keep referring to some prior exercise, that I can't find anywhere. Is there an "exercise 0" hiding somewhere?
Re: Exercises to Learn Rust
#5[flagged]
Re: Exercises to Learn Rust
#6[flagged]
Re: Exercises to Learn Rust
#7Re: Exercises to Learn Rust
#8[flagged]
Neither did I. But then I took the time to learn the language, and I understood what all the hype was about. Maybe you should too, instead of just whining about it.
Re: Exercises to Learn Rust
#9[flagged]
This statement does a lot of work. Safety without compromise in speed on modern architectures is rather valuable. I dont think you understand the importance of that statement and why it is being used in the kernel. Depending on what you do, you may never need to code in rust (I dont) but dont underestimate how much humanity meeds that combination of safety and speed.
Re: Exercises to Learn Rust
#10[flagged]
I think these are some good points:
https://github.blog/2023-08-30-why-rust-is-the-most-admired-...
On the one hand, "safety" avoids the "use after free" or other bugs which plague programs written in C. For systems programming, that is significant.
On the other hand, the "safety" allows for much easier concurrency.
The higher-level stuff like "pattern matching" is really nice. It's nice enough that it motivated efforts like https://github.com/borgo-lang/borgo
Somewhat implicit is that Rust has enough of a community that there are many good packages/libraries and tools around it.