Let's Learn Rust: Vectors and Hash Maps

preview_player
Показать описание
It probably comes as no surprise that Rust implements the two most popular data structures in computing: Vectors and Hash Maps. You'll want to learn these and learn them well as you'll use them in most programs you build.

Hope you enjoyed the video!

Check out this code here:

Join my Discord server to chat with me:

Check out some code on my GitHub:

Come visit us on Reddit:

Other Social:
Рекомендации по теме
Комментарии
Автор

Fast, concise, no bull shit. Subscribed.

oskarGoesTubbe
Автор

It's interesting to see how different languages do things. Thank you! Great work as always.

ZacKoch
Автор

Just getting into Rust, thank you so much for these videos! Your content is always really clear and straight to the point.

HaroldR
Автор

I have to echo a lot of other folk. As an intermediate Rust tinkerer, please make more Rust videos. The way you go about providing information is great. You dont talk just to hear yourself talk and get to the point. No irrelevant info! Id love to see you post more Rust videos and gradually dive deeper into this interesting language! Thanks Boss.

meekmtck
Автор

For the HashMap.get(element).unwrap() maybe the such element") is a cleaner solution.

xmas
Автор

load more advanced RUST videos. love it. carry on.

swoopertr
Автор

I love this content!

Also I would like to ask a question. Can you make a video explaining break points and how to use them? I think that they are really important in programming when a bug occurs or when the result is not what you expected, but I never understood how to use them ahah. I thibk it would be a nice video from you, what do you think, will you ever do one? If not it's fine. :)

qwerasdfhjkio
Автор

I'd also like to add my voice to the requests for more Rust videos from you! Perhaps you could explain `unwrap()`? A video on ownership/borrowing would also be super helpful.

Bloodyaugust
Автор

It is unbelievable how this has below 5k views. This is extremely good content, please keep it up!

NumbBanana
Автор

One very good series. Short concise and straight to the point. I like it. Please, keep them coming. Youtube is a little short on good Rust tutorials

joeyvico
Автор

Yet another way to safely act only when you do get the value you're looking for is the handy `if let` statement:
if let Some(n) = numbers.get("two") {
println!(n);
}

ZyklonV
Автор

Hey man, top content! Do you plan to continue the Rust series anytime soon?

kaloyanhristov
Автор

I'm glad I found ur channel :). There's not a lot of Rust youtubers right now...

Adam-cnib
Автор

Hi thanks for these Rust lessons, will you add more?

JamesSmith-cmsg
Автор

I like your rust videos but as someone who's used rust for several years now I feel there there were some things that you glossed over or didn't explain very well. (For instance that you need to implement the Hash and Eq traits to be a key, so floats are not allowed). I also would like to mention that the "with_capacity" function is very useful for creating vectors or maps with a predefined size.

HasanIbraheem
Автор

Hey are you planning on doing any more videos in this series?

tomglod
Автор

let mut text: Hashmap<&str, i32>=Hashmap::new();
| ^ expected one of `:`, `;`, `=`, `@`, or `|`
Why this error has occured plz help ?

tanmaygaurkar
Автор

Can you please make a video on wifi penetration

subodhadhikari
Автор

is rust good for promoting neo nazism?

superhussein
welcome to shbcf.ru