3 ms·
I've been using Webtorrent Desktop for quite a while now, and really enjoy using it generally, but there are some glaring issues around random freezes on fast c
by ss3000 6y ago
I've been using Webtorrent Desktop for quite a while now, and really enjoy using it generally, but there are some glaring issues around random freezes on fast connections, plenty of open issues on it with other users reporting the same experience: https://github.com/webtorrent/webtorrent-desktop/issues?q=is%3Aissue+is%3Aopen+freeze https://github.com/webtorrent/webtorrent-desktop/issues?q=is...
I've personally been working around this using a custom fork that messes around with the simultaneous connections settings of the webtorrent library, and it seems to help a bit, but I still get freezing from time to time when I download a large number of torrents simultaneously.
I wonder if an alternative Webtorrent implementation (not Webtorrent Desktop) in Rust on top of WASM might make those kinds of issues easier to avoid with its safeguards around concurrency and just generally making more efficient use of resources.
(Slightly edited repost from an earlier thread about Webtorrent, feels a lot more relevant on this one)
- Sean-Der 6y agoThere are two other WebTorrent implementations (possibly more that I don't know about!) * https://github.com/anacrolix/torrent https://github.com/anacrolix/torrent (Golang) * https://github.com/arvidn/libtorrent 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 :)
- boramalper 6y agoI don’t think the first one (anacrolix/torrent) supports WebTorrent, where did you read it?
- subins2000 6y agoThere is a 'webrtc.go' file in that repo, so I guess it does.
- anacrolix 6y agoSupport was added a few months ago with some generous donations.