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 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

- 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.
![]() |
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. |