Re:Building a BitTorrent client from the ground up in Go
by tryptophan on Saturday January 04, 2020 @08:38PM
(#21959000)
Isn't webtorrent just bittorrent implemented in JS so it can run on browsers?
[ Parent
| on HN ]
Re:Building a BitTorrent client from the ground up in Go
by the8472 on Sunday January 05, 2020 @07:08AM
(#21960924)
webtorrent is not compatible with bittorrent because browsers can't speak raw TCP/UDP as required by the bittorrent protocol. They use webrtc, which is not compatible with existing bittorrent clients and requires some centralized components (signalling servers) while bittorrent can operate fully decentralized.
Also running things in a browser is at cross purposes with torrent long-term availability, large-scale (giga or terabyte) file management, efficient IO and so on.