[SLOWER VERSION] A First Look at Lifetimes in Rust

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

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

  • @DavidCastro
    @DavidCastro 8 หลายเดือนก่อน +3

    What an amazing instructive video. Thank you so much!
    Please, please, please, make more rust videos like this one

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

      Agreed, these videos are excellent

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

    Male,l really like yourway of talking,your voice etc, everything just makes people feel so comfortable , relaxing and enjoyable,

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

    i use rust off and on and this is by far the best vid on lifetimes ive seen

  • @MykolasSimutis
    @MykolasSimutis 8 หลายเดือนก่อน

    Really looking forward to your videos, such a good content and very entertaining presentations

  • @richmondgnu
    @richmondgnu 8 หลายเดือนก่อน

    Thank you

  • @gregorypeterson6008
    @gregorypeterson6008 8 หลายเดือนก่อน

    Thank you!

  • @JohnPywtorak
    @JohnPywtorak 8 หลายเดือนก่อน

    At 25:10 ish it is T & T not T & U right? You used T & U to show the drop working.

    • @oconnor663
      @oconnor663  8 หลายเดือนก่อน

      You're right. I guess in my head I was thinking of that whole previous section when I said "T and U".

  • @TheOnlyJura
    @TheOnlyJura 6 หลายเดือนก่อน

    What is this colorscheme please?

    • @oconnor663
      @oconnor663  6 หลายเดือนก่อน

      "Solarized light" ethanschoonover.com/solarized/

  • @JohnPywtorak
    @JohnPywtorak 8 หลายเดือนก่อน

    I am not sure overloading Type in this way to think about lifetimes is good. It confuses me because a String and a String are the same Type. I know you add a little to try and explain that. It is appreciated, but adds indirection that is ultimately confusing. I understand why T & T was fine, that makes sense generically. I though would not try and explain by using generics. I want to understand this way of thinking, but I find I am worse off as opposed to just knowing the element string reference has to life as long as the contents of the vector do. Straight to the point.

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

      Hey that's good feedback. This is an experiment for sure, and the conclusion might be that teaching it this way isn't worth the extra time and potential confusion.