Rust Beginner Tutorial #3 - Borrowing & References

preview_player
Показать описание
We're going to dive into the enigmatic concept of references in Rust! Come learn about how borrowing values works in the Rust ecosystem.

Check out the code on GitHub!

This video is Part #3 of my playlist "Rust Beginner Tutorial" - check out the entire playlist!

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

Thanks for this man. I want to get into web3 and decided I'm watching all your videos from start to finish to get started with solana.

HermesSoilder
Автор

Clear, concise and no B.S! One of the best Rustic channels on YT. Period

RustPakistan
Автор

So hard to understand when we begin but the explanations are wonderful !

flamme
Автор

With the Simpsons references in part 1 and now the borrowing concept, I have Milhouses's Dad's single in my head...Can I borrow a feeling. Ye ok I watched too much Simpsons!

lardosian
Автор

So does that mean, that i32 stored in the heap, like an object var???

Автор

HI,
Thank you for nice vidoe:
It similar to C programing
example:

int a = 1;
int b = &a

if we did print("value of a: %i", &a); // we got the value of a
and if we did print('value of b: %i", *b); // same we got the value of b that is 1

But if we did print('Stack memory value is %d', b); // we got the stack number of b, something like: #BAD... // I don't remember;

is it the same here in rust;

aomo
Автор

What is your extention that highlight all the errors?

flamme
Автор

best rust tutorial. can you share your twitter? would like to follow you

zzej