Making the (partial) Rust BitTorrent client more reasonable

Making the (partial) Rust BitTorrent client more reasonable

Jon Gjengset

1 год назад

39,586 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@elgusanito6991
@elgusanito6991 - 17.11.2023 20:41

nice thumbnail

Ответить
@raidensama1511
@raidensama1511 - 17.11.2023 20:48

🥤🍿

Ответить
@twistedsector
@twistedsector - 17.11.2023 23:45

Your videos are invaluable to the intermediate Rust community, Jon!

Ответить
@pdd9366
@pdd9366 - 18.11.2023 05:45

The thumbnail lol

Ответить
@CompletelyCovered3
@CompletelyCovered3 - 18.11.2023 18:43

A sequel to the famed classic!

Ответить
@simbiont777
@simbiont777 - 19.11.2023 02:02

self.offset in DownloadedIter equals to 0 and still unchanged or I missed something?

Ответить
@drvanon
@drvanon - 20.11.2023 02:00

One architecture optimization (dont really know what to call this) i would make is to have a function called download block range and have that be where you deal with all the complex logic that you dealt with in downloaded. Then download all would just call the entire range and for any specific set of files you would figure out what blocks you need. Now, becuase of the possible overlap of pieces across blocks, it is possible that you download a block multiple times in a download all.

Edit: or maybe I am misunderstanding how files/pieces/blocks work.

Ответить
@driedurchin
@driedurchin - 20.11.2023 05:28

How would you go about testing this implementation in a robust manner? Seems difficult to create all the edge cases of disconnections, retransmissions, etc.

Ответить
@alphabitserial
@alphabitserial - 21.11.2023 06:13

I'd love to see what a 'from scratch' impl would look like as opposed to using (mostly) just the crates from the Codecrafters challenges. One example I could think of is using nom for bencode instead

Ответить
@JakWai01
@JakWai01 - 22.11.2023 14:41

Just wanted to say thanks for having made my Rust learning experience in the past really enjoyable. Totally unrelated question, but what kind of zip neck sweater are you wearing?

Ответить
@codeplay4947
@codeplay4947 - 09.12.2023 14:04

Your colorscheme/theme is really niceeeeeeeeeeeeeeee!!!!! what is it, (it's not gruvbox) i checked your config files but cannot implement the same in mine, how can i get a theme like yours....

Ответить
@vaporif
@vaporif - 18.12.2023 23:15

What did you mean by referring to async_channel as smoll-rs based one? It doesn't depend on smoll-rs runtime.

Ответить
@Nunya58294
@Nunya58294 - 06.01.2024 05:25

Although I don't code in Rust this is really fascinating!

Ответить
@vxcute0
@vxcute0 - 11.01.2024 13:24

could you make a video on implementing the Bittorrent DHT Protocol ? I would really love to see that on your channel :)

Ответить
@tjoey6663
@tjoey6663 - 25.03.2024 17:19

really fascinating stuff, hoping to see more like this

Ответить
@haydenridd
@haydenridd - 08.05.2024 07:25

Thank god we replaced all those nasty single digit "8"s with a scoped constant and two nested casts

Ответить