Rust: Associated types for Iterator implementations

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

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

  • @TrustyBits
    @TrustyBits  ปีที่แล้ว

    Blog post with transcript:
    catalin-tech.com/std-lib-bounds/

  • @joebuydem
    @joebuydem ปีที่แล้ว +5

    Very well done video!!! Very nice. Keep these up. We need more intermediate videos on rust. Thank you.

    • @TrustyBits
      @TrustyBits  ปีที่แล้ว

      Thank you so much!! Will do!

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

    I'm happy to see this topic being covered. I used some concepts here myself making my own crate.

    • @TrustyBits
      @TrustyBits  ปีที่แล้ว

      Glad you found it useful! Thanks for letting me know.

  • @mzg147
    @mzg147 ปีที่แล้ว

    Amazing video! :D Thank you, I was really entertained. I love type system of Rust, so I could watch these kind of videos all day!

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

      Thank you so much! I can also just geek out on Rust's type system. I do want to do more of this - though it can be difficult to find good examples that can be packaged neatly into a video.

  • @mohaniya15
    @mohaniya15 ปีที่แล้ว

    I just started learning and making videos about Rust, and this video is very helpful.

    • @TrustyBits
      @TrustyBits  ปีที่แล้ว

      Glad it was useful! Hope you have fun learning!

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

    Very nice video and great explanation ! Thank you
    all that is missing is a small implementation of an iterator at the end but i'm just nitpicking :)

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

      Thanks, glad you enjoyed it. To be honest, towards the end of recording, I kind of got tired of saying the word "iterator" :D Hmm, I wanted to focus on the trait bounds specifically, though I did cover some tangential stuff around iterators. I think I did it in the previous video, though I didn't give a practical example with showcasing the iteration logic. I felt like there are many details to cover for a realistic implementation scenario (most of the stuff that's iterable already implements Iterator or IntoIterator) and didn't want to spread the topics too much.
      Thank you for watching and reaching out!

  • @ikhlasulkamal5245
    @ikhlasulkamal5245 ปีที่แล้ว

    Great video, we need more of this xD

    • @TrustyBits
      @TrustyBits  ปีที่แล้ว

      Thank you so much! Working on it :)

  • @korigamik
    @korigamik 10 หลายเดือนก่อน

    This is a very good video! Can you telll us what you used for creating these animations for slides and the code highlighting synced with audio?

    • @TrustyBits
      @TrustyBits  10 หลายเดือนก่อน

      Thank you! I used:
      motioncanvas.io/
      The animations have to be made using code, but the synching is done by clicking and dragging in the render interface. The code animations use this component:
      motioncanvas.io/docs/code-block/