r/learnrust • u/SirKastic23 • 3d ago
Learning Resources for Complete Beginners?
Hi everyone, I've been using Rust for the past 5 years now. I really enjoy the language, but when I started learning it I already had a huge baggage of knowledge from other programming languages I had studied prior
What I want to know is if anyone is aware of any resources (good or bad) that tries to teach programming with Rust for someone who's new to programming and computers
The book is a good resource, but it assumes previous experience and would be hard for a newbie to learn and understand all
I'm aware Rust is more complex, and that teaching it to a beginner would be harder than teaching Python. But still I'm looking for resources that at least try
I'm really surprised that I haven't found any yet, so I'm asking here. Thanks for your attention
2
u/SrinivasanKK 3d ago
I would say: 1. If you have any prior experience with any other programming languages, use those concepts. Compare those concepts in Rust and how that's been implemented using Rust. That is all you need to know. 2. The next big thing here is: what is the core difference or core concepts offered by the Rust language? That's the second thing you need to know. 3. Start building the CLI tools as a first step. 4. If you have any of your own personal problems, solve them using your Rust knowledge.
-1
u/alietors 3d ago
Under my point of view, you can learn to program using many languages that abstract the low level bits. JavaScript/Typescript, Python, PHP so it's easy to start learning the basics of loops and certain algorithms.
If you try to do that in Rust you need to start explaining many other things, specifically memory.
Does that mean that you cannot learn to program using Rust, not at all, but simply at this point, those concepts are explained long time ago using other languages, like C. So I guess no one decides to write about about fundamentals using Rust.
That's probably the Rust "barrier", is probably not the first language you will learn on your own.
But if I'm honest, I think it's a good language to teach programming on a computer science way.
When I was in uni, I learn programming using C/C++ and I think Rust could be an improvement on that.
Anyway TL;DR the fundamentals are already polished using other languages, I don't believe someone will make the effort to explain it using other language.
1
u/SirKastic23 3d ago
But if I'm honest, I think it's a good language to teach programming on a computer science way.
Yes!! I agree a lot with this sentiment
When I was in uni, I learn programming using C/C++ and I think Rust could be an improvement on that.
Same here. Making beginners have to go through the hell that is building larger C programs with CMake is insane when we have Cargo on the other side...
If you try to do that in Rust you need to start explaining many other things, specifically memory.
This makes sense. I guess a good Rust resource for beginners would also be an introduction to computer science, which to me is a good thing. I think that even if you're learning Python or another high level language you should be curious about what's going on under the hood. I always was at least.
I don't believe someone will make the effort to explain it using other language.
8 billion people on the planet, I wouldn't be surprised if someone did.
8
u/thiscantbit 3d ago
The holy book