Rust: Weak References

  Рет қаралды 4,027

The Dev Method

The Dev Method

Күн бұрын

Пікірлер: 10
@killermonkey1392
@killermonkey1392 Жыл бұрын
Amazing video. Coming from a mostly C/C++ and Python background, I have experienced some frustration trying to implement trees with parent references in Rust, experimenting with Option
@aricsebastian963
@aricsebastian963 Жыл бұрын
I like that he is like "well it says (weak) but nothing is there... trust me". Sounds like he has spent a lot of time debugging while putting this together lol :D
@tathagataroy5153
@tathagataroy5153 Жыл бұрын
Thanks for the video! As a person getting into systems engineering seeing these concepts used in concrete code helps.
@antoniocorbibellot6532
@antoniocorbibellot6532 Жыл бұрын
Thanks for the video! I try to think about strong/weak references like: "strong implies ownership while weak doesn't", being the latter (weak) more like a bare pointer.
@mrme5694
@mrme5694 Жыл бұрын
I like the fact he explains between code executions we did this in this paragraph we did that in this paragraph. He doesn't gloss over but is balanced in giving details.
@ravidborse
@ravidborse 5 ай бұрын
Thanks.. 👍
@jeffg4686
@jeffg4686 Жыл бұрын
let a = Rc::new(Cons(5, RefCell::new(Rc:new(Nil)))); What this snippet tells me is that writing small functions is more relevant in Rust than typical language. At least you can read it at a high level with small functions.
@lautaroblasco
@lautaroblasco Жыл бұрын
Great video!
@johnrinehart
@johnrinehart Жыл бұрын
Awesome
@eriife_michael
@eriife_michael 10 ай бұрын
What theme / font are you using in this video?
Rust: Spawn a Thread
6:54
The Dev Method
Рет қаралды 2,9 М.
Rust: Closures
19:53
The Dev Method
Рет қаралды 17 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 4 МЛН
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,8 МЛН
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,2 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 25 МЛН
Smart Pointers in Rust - Reference Cycles
15:38
Let's Get Rusty
Рет қаралды 21 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 174 М.
Rust: Iterators
20:07
The Dev Method
Рет қаралды 15 М.
Rust: Send Data between Threads
8:26
The Dev Method
Рет қаралды 10 М.
Rust: Vectors
14:04
The Dev Method
Рет қаралды 4,8 М.
Rust | Avoid Memory Leaks with Weak References
10:35
Mohammad Ghanbari
Рет қаралды 1,3 М.
Rust's Alien Data Types 👽 Box, Rc, Arc
11:54
Code to the Moon
Рет қаралды 146 М.
Neural Networks From Scratch in Rust
9:12
codemoon
Рет қаралды 15 М.
Rust Generics and Traits: Define Common Struct Behaviors 🦀
32:23
Trevor Sullivan
Рет қаралды 6 М.
Rc and RefCell Smart Pointers - Rust
26:03
danlogs
Рет қаралды 7 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 4 МЛН