File:Making the (partial) Rust BitTorrent client more reasonable.webm

Summary

Description
English: After doing the BitTorrent CodeCrafters challenge in #rustlang (https://www.youtube.com/watch?v=jf_ddGnum_4), I had an urge to do some re-organization to better fit what a real implementation would look like when it has to handle files, multiple peers, multiple pieces, concurrency, etc. So, that's what we did!

If you want to give the whole challenge a try, please consider using my refrral link: https://app.codecrafters.io/join/bittorrent?via=jonhoo

0:00:00 Recap 0:11:18 Writing what we want to end up with 0:21:28 Writing the interface outside-in 0:36:56 Grabbing peer info 0:42:44 Interacting with a single peer 0:56:10 Decoding which pieces a peer has 1:34:11 Moment of hesitation 1:39:15 Ordering pieces 1:53:11 Connecting to a pool of peers 2:05:10 Grabbing pieces one by one 2:20:09 Cooperatively download all the blocks! 3:11:23 Handling choking 3:28:06 Putting together all the pieces 3:35:29 Fixing the one bug 3:45:23 The many things that remain

Stream diff: https://github.com/jonhoo/codecrafters-bittorrent-rust/compare/b7624aea62d47833c99af1555a8d44c7d9582c60...01dce6f489ecc7e5069960614d7b12ba66bdbec8

Live version with chat: https://youtube.com/live/8sEdv0G1VIE
Date
Source YouTube: Making the (partial) Rust BitTorrent client more reasonable – View/save archived versions on archive.org and archive.todayCategory:Media from YouTube
Author Jon Gjengset

Licensing

This video, screenshot or audio excerpt was originally uploaded on YouTube under a CC BY license.
Their website states: "YouTube allows users to mark their videos with a Creative Commons CC BY license."
To the uploader: You must provide a link (URL) to the original file and the authorship information if available.
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
Attribution:
Jon Gjengset
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Category:CC-BY-3.0#Making%20the%20(partial)%20Rust%20BitTorrent%20client%20more%20reasonable.webm
Category:Media from YouTube#Making%20the%20(partial)%20Rust%20BitTorrent%20client%20more%20reasonable.webm
This file, which was originally posted to an external website, has not yet been reviewed by an administrator or reviewer to confirm that the above license is valid. See Category:License review needed for further instructions.
Category:License review needed (video)#153342763 Category:Uploaded with video2commons Category:Videos of Rust (programming language) Category:Videos in English
Category:CC-BY-3.0 Category:License review needed (video) Category:Media from YouTube Category:Uploaded with video2commons Category:Videos in English Category:Videos of Rust (programming language)