Live data from Hacker News

Show HN: Synapse, a full featured BitTorrent client in Rust

github.com

21–30 of 73 posts

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#21
post #19
post #8

Earlier quoted context omitted.

Synapse is not designed for people who want this use-case. It's primarily designed for seedbox users who want a daemon to control remotely. It's also designed to efficiently work at scale, and takes advantage of native features like mmap to download quickly. Also, it wasn't rewritten in Rust from some other language, it was written in Rust in the first place.

Is a seedbox basically a torrent-focused media server? Probably worth submitting a PR to note this focus in the readme. And yes, I'm joking about the rewritten-in-Rust part. :)

>Is a seedbox basically a torrent-focused media server?

No, it's just a box dedicated to "seeding", a server whose purpose is bittorrent.

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#22
post #4

Not that I'm not always eager to see something get rewritten in Rust , but I'm curious whether web browsers have advanced to the point where a bittorrent client could exist as a webapp rather than requiring native installation. Could the bittorrent protocol operate over WebRTC?

The Opera web browser had a torrent client built-in for a long time.

https://en.wikipedia.org/wiki/History_of_the_Opera_web_brows...

Looks like since version 9, released in 2006.

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#23
post #20

Earlier quoted context omitted.

>a bittorrent that actually does more than download and quit always seems like something quite heavy... Don't forget to seed!

Let's brainstorm ways to solve the seeders/leechers problem via cryptocurrency: how much would it cost to encode a complete feature-length film in the bitcoin blockchain? :P

The user would torrent a scrambled file, once some conditions were met the user would receive the mechanism for unscrambling the file. While the user is seeding the scrambled file they would have an alternate metadata that describes that file. The version that is served could be based on consensus of the network.

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#24
post #4

Not that I'm not always eager to see something get rewritten in Rust , but I'm curious whether web browsers have advanced to the point where a bittorrent client could exist as a webapp rather than requiring native installation. Could the bittorrent protocol operate over WebRTC?

That's pretty much WebTorrent, isn't it?

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#25
> in Rust

Saying what language a program uses only describes its grammar and runtime. Saying what dialect a program uses also describes its idioms.

https://en.wikipedia.org/wiki/Programming_idiom

For (a simple) example, actix-web uses actix, a library that largely changes the nature of writing Rust code. This might be called Rust-a or Rust', or something.

https://github.com/actix/actix-web

My point is that Rust is a really cool language where "the(/some) (sub)community(ies)" are developing and coalescing around great libraries outside of core std, making a very* robust language, or rather robust language dialect.

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#26
post #9

Earlier quoted context omitted.

Does it seriously download a 129MB file just by opening the page?

Ha yeah. Everyone pointed that out the first time this came up and I guess he ignored the feedback.

I actually find it seriously impressive. It demonstrates it works for you right now, and it works seamlessly!

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#27
Interesting ! I tried integrating transmission for downloading content in a video wall app and it was a bit of a nightmare.

Hopefully this will be better - please have a sane remote API.

One thing that Azeurus did really well, that transmission really did not -

You could can tell azeurus to re-check all the files that are there so it can find out how far it's got.

In Azeurus I used this to reconstruct a large torrent by adding files that I found, then telling it to re-check.

Transmission couldn't even tell if the files the torrent pointed at had been deleted from under it.

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#28
post #20

Earlier quoted context omitted.

>a bittorrent that actually does more than download and quit always seems like something quite heavy... Don't forget to seed!

Let's brainstorm ways to solve the seeders/leechers problem via cryptocurrency: how much would it cost to encode a complete feature-length film in the bitcoin blockchain? :P

Bram Cohen built MojoNation which was the first real cryptotoken/smartcontract startup

After that failed he designed BitTorrent to actually align the incentives of users, without any of the currency bullshit getting in the way

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#29
post #27

Interesting ! I tried integrating transmission for downloading content in a video wall app and it was a bit of a nightmare. Hopefully this will be better - please have a sane remote API. One thing that Azeurus did really well, that transmission really did not - You could can tell azeurus to re-check all the files that are there so it can find out how far it's got. In Azeurus I used this to reconstruct a large torrent…

Really? That's odd, that's a pretty standard feature in every client I've tried. I'm not positive, but I'm fairly sure transmission does it too.

Re: Show HN: Synapse, a full featured BitTorrent client in Rust

#30

> in Rust Saying what language a program uses only describes its grammar and runtime. Saying what dialect a program uses also describes its idioms. https://en.wikipedia.org/wiki/Programming_idiom For (a simple) example, actix-web uses actix, a library that largely changes the nature of writing Rust code. This might be called Rust-a or Rust', or something. https://github.com/actix/actix-web My point is that Rust is a…

I'm not all that familiar with actix, but surely not every Rust program is written using a library that largely changes the nature of Rust code. Like, would you say there's a name for the dialect this program is written in?
Post reply on HN