Rust Crash Course | #13 Pointers and Referencing

preview_player
Показать описание
Welcome back to video number 13 in this Rust tutorial series! In this video, we learn about pointers and referencing!

📖Resources📖

💻Code💻

🔗 Social Media Links 🔗

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

I just started learning Rust yesterday, and I'm still at the stage of expecting pointers and references to work just like C.

So when they inevitably don't, I'm back to the freshman days of seeing the & and * operators as magic incantations that work only when the moon is in the right phase

TwentyNineJP
Автор

Looking forward to seeing the in-depth video for pointers, it's pleasant to listen to you. Many people want to learn to code, but they don't want to learn the inner workings of a computer and its components. Not knowing anything about memory adresses or cpu cycles makes it hard to understand the necessity of pointers and references and can even screw a simple JavaScript program. However, you forgot your glasses.

thomasgollenia
Автор

where can I see the other videos? great course Ellie!

weirkved
Автор

What is the name of the theme your are using in your code?

sandstorm
Автор

Hold up. What if you dont use the macro to initialize the vec?

TheDadlysin
Автор

Is the reason for “we cant do this”, because rust can’t copy the vector

jackypaulcukjati
Автор

new subscriber from Pakistan...lots of respect and love from pakistan.

muhammadarslan
Автор

She says arrays allow copy to another variable on reassignment because they are primitive types, well that is not entirely correct, in the case she used; it works! this is because the elements of the array implements Copy trait, therefore the array itself can be copied on reassignment or when passed to a function, but if instead i used Strings as the element of my arrays, i would not be able to get away with the assumptions that arrays always copy on reassignment. But this was definitely very educative. Thank you so much

brianobot