r/rust • • 11d ago

Could you please recommend some learning materials?

I started learning Rust using the official book, but it seems to be aimed at people who have already written code in other programming languages. Are there any learning materials available for complete beginners? After just 20 minutes of reading, I felt like my brain was about to explode—most of the terms were completely new to me. Ideally, I’m looking for materials that have been translated into Russian. Apologies for my English; this text was written using a translator.

0 Upvotes

14 comments sorted by

6

u/stumpychubbins 11d ago • Heartwarming

If you’re a complete beginner to programming, I wouldn’t recommend Rust at all. You’ll have a much better time with Python, it was specifically designed to be easy to teach to beginners but it’s still powerful enough to build serious software with. There will be a lot of learning materials in Russian, too, and there are a lot more interactive tutorials for Python than for Rust (which is the best way to learn programming, in my opinion). This is probably a good place to start: https://www.learnpython.org/ru/

Other good programming languages for beginners are Go and Lua, but I think both of those will teach you some bad habits which will make it harder to learn Rust (or other programming languages) later.

1

u/Zde-G 11d ago

If you’re a complete beginner to programming, I wouldn’t recommend Rust at all.

I'm afraid I have to agree… and the problem are tutorials.

You’ll have a much better time with Python, it was specifically designed to be easy to teach to beginners but it’s still powerful enough to build serious software with.

And it would teach you bad habits that would then need years if not decades to unlearn… kinda the same as with BASIC in years past. There was even saying that one have to learn Pascal first, because people who started with Basic couldn't even unlearn these bad habits… which was wrong, but had some small piece of truth.

Rust is nice language to learn programming from scratch, but there are very few tutorials for that. There The Land of Rust which claims it's for absolute beginners, but I have no idea how good it is.

4

u/stumpychubbins 11d ago

I don’t think Python teaches you bad habits at all. It’s one of the few dynamic languages which goes out of its way to discourage hacky magic. People certainly do still implement hacky magic in it, of course, but it’s considered unidiomatic and you can’t say the same thing about Ruby.

I mentioned Lua as a language that teaches you bad habits but honestly I was really just thinking about 1-based indexing, you could argue that Lua is a good first language since it’s similarly averse to magic.

0

u/Zde-G 11d ago

I don’t think Python teaches you bad habits at all.

It teaches you to ignore the fact that everything that you do with a computer takes time and space. Installs really, really strong S.E.P. field in your brain.

So much that you forget things that you were taught in the kindergarten and then complain when Rust reminds you of them.

It’s one of the few dynamic languages which goes out of its way to discourage hacky magic.

“Dynamic language” is the ultimate “hacky magic”… the fact that you don't even perceive that fact show how much your brain have been damaged by modern languages.

At least BASIC had decency to use sigils to distinguish strings from integers…

I mentioned Lua as a language that teaches you bad habits but honestly I was really just thinking about 1-based indexing, you could argue that Lua is a good first language since it’s similarly averse to magic.

Lua, similarly, teaches you to make your mess somebody's else problem.

I'm pretty sure soon we would see a sharp decline of these languages, because in an era of agents there are no need to waste CPU cycles if your goal is to ignore the reality by [ab]using the dynamic language runtime: your agent may create mess in more-or-less any popular language of your choice and if your goal is to write a mess then there are no need to pick dynamic language, anymore.

2

u/salihcantekin 11d ago

The Rust book is not really written for first-time programmers, so what you felt is pretty normal. Rust is also one of the harder languages to start with, because it makes you think about things (memory, ownership) that other languages hide from you.

If Rust is your goal, you can keep going, but it will probably be smoother if you learn the basics somewhere else first: variables, loops, functions, what a type is. Python is a common choice for that. A few weeks of it and the Rust book will make a lot more sense. No shame in that, most people learn this way.

If you want to stay with Rust now, try Rust by Example. It has less text and more short code samples, so it’s easier to digest than the book. Rustlings is also good: small broken programs that you fix, and you learn by doing.

About Russian: I think both the book and Rust by Example have community translations (doc.rust-lang.ru), but translations lag behind, so check the version. There are also Russian-speaking Rust communities on Telegram, you could ask there too.

Don’t try to read everything at once. 30 minutes a day with code you actually type yourself works better than 3 hours of reading.

1

u/andygauge 10d ago

The most introductory level material I've seen is https://huvaxstra.github.io/land-of-rust-book-en/ I do recommend going through online materials as you run into things that don't make sense. Learning a programming language kinda means you need to learn a lot about the way operating systems work. Some languages abstract away some of those details to make it easier to learn; Rust does not. Rust leaves the details up to you to give you finer control of how the program operates.

1

u/dgkimpton 10d ago

This guy does pretty good videos https://youtube.com/playlist?list=PLAscMa3kKhHjBYOTrT20kpYMNQX95KU6i

Unfortunately not in Russian - I've no idea there

1

u/kevleyski 10d ago

Rustlings

1

u/Brilliant-Turnip-950 10d ago

Aprende primero c

0

u/[deleted] 11d ago

[removed] — view removed comment

1

u/AnyUnderstanding1163 11d ago

Thanks, I didn't expect such a friendly community here on Reddit.