Rust: Weak References

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

ความคิดเห็น • 11

  • @miriamramstudio3982
    @miriamramstudio3982 หลายเดือนก่อน +1

    Great video. Thanks

  • @aricsebastian963
    @aricsebastian963 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

    Thanks for the video! As a person getting into systems engineering seeing these concepts used in concrete code helps.

  • @killermonkey1392
    @killermonkey1392 ปีที่แล้ว +7

    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

  • @antoniocorbibellot6532
    @antoniocorbibellot6532 ปีที่แล้ว +1

    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.

  • @jeffg4686
    @jeffg4686 ปีที่แล้ว +1

    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.

  • @mrme5694
    @mrme5694 ปีที่แล้ว +3

    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.

  • @lautaroblasco
    @lautaroblasco ปีที่แล้ว +1

    Great video!

  • @ravidborse
    @ravidborse 7 หลายเดือนก่อน +2

    Thanks.. 👍

  • @eriife_michael
    @eriife_michael ปีที่แล้ว +1

    What theme / font are you using in this video?

  • @johnrinehart
    @johnrinehart ปีที่แล้ว +2

    Awesome