Can we have an interactive way of learning Rust?

You know sites like CodeCademy and Khan Academy how they have an interactive way of teaching, can we have something for Rust? Cause there are not many tutorials out there for Rust compared to C++ and it is actually harder to learn Rust than C++ due to lack of quality and quantity of tutorials out there.

I think you should follow Rust exercises in exercism, for an interactive way of learning Rust.


lack of quality and quantity of tutorials out there

I would disagree here. I found online book (also available as hard copy https://nostarch.com/Rust) and Programming Rust are of decent quality, they explain the concepts very well - with enough examples, and diagrams. Also sometimes compares them with C, C++ and Python.

4 Likes

For the exercism, how does it exactly work, so I download their work, do their tutorial exericse and then upload to the site and does it have an automated system that checks if the work has been done correctly?

Looks like they have mentors approve the work:

2 Likes

into_rust() is a short set of video tutorials with exercises, aimed at complete beginners. It’s somewhat similar to the Khan Academy approach.

1 Like

I am not sure how to couch this without seeming adversarial, but the notion that there are not good learning materials freely available for rust is just counter-factual. This is a good place to start if google has failed you:

1 Like

I see

Thanks for that

Codewars is another good option. You can edit the code in the browser and they have a fundamentals category for exercises. They support 20+ languages as well.

3 Likes

My interactive learning of Rust was with long conversations with the Rust compiler. In general it has very good error messages and guides one in the right direction when one gets things wrong.

That and using rust-analyser in VScode. Which shows you what types the compiler will see and what you are doing wrong in real-time as you type it.

Far from being poor quality I would say the Rust Book is very good: The Rust Programming Language - The Rust Programming Language as is Rust By Example: Introduction - Rust By Example

For video Ryan Levick has made some nice beginner level tutorials. https://www.youtube.com/c/RyanLevicksVideos

2 Likes

That's odd. Now I see I have replied to a three year old thread. How did that pop up to the top for me to read this morning?

well when somebody responds, it pushes the post to the top.

Thanks I will have a look at it.

Ah, silly me.

When I saw the post previous to my reply above I see:

7/13
Jul 2018

next to it. I was looking at the "Jul 2018" which registered in my mind a date. While the "7/13", well, didn't.

1 Like

There are also the Rustlings.

1 Like

Isn't Rustlings exactly this?

1 Like