What does HackerNews think of torrent?
Full-featured BitTorrent client package and utilities
It is solvable, but any solution that spreads resources out across many different targets in the DHT is slow. Basically anything that was inspired by BitTorrent, but isn't BitTorrent itself does this, because they get overly excited by deduplication of data.
https://github.com/anacrolix/torrent
It has a few frontends built on top of it (linked in the project readme), but I just run `torrent download ` and it downloads at full speed / with no issues.
https://github.com/anacrolix/torrent
for those cases.
* https://github.com/anacrolix/torrent (Golang)
* https://github.com/arvidn/libtorrent (C++)
An implementation in Rust would be amazing, but there is a quite a bit of work to make that happen in pure Rust though! If you want to use FFI/unsafe code it is totally do-able :)
One insight that I got from it is that the io.Reader and io.Writer interfaces can work very similar to node streams.
If you work with binary data at any point, it makes a lot of sense to provide those interfaces as there is a tremendous amount of code that can make use of it.