TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Bt – BitTorrent library in Java 8

254 pointsby atomashpolskiyalmost 8 years ago

16 comments

atomashpolskiyalmost 8 years ago
There are many great BitTorrent clients out there, yet I've made my own and willing to share and attract collaborators!
评论 #14913398 未加载
评论 #14914902 未加载
评论 #14912946 未加载
jphalmost 8 years ago
Thank you, your work is terrific! Good docs, good code, and I especially like the ability to create custom code to write to alternative storage.
评论 #14912123 未加载
gigatexalalmost 8 years ago
Man this looks slick, going to give it a shot. Love the ability to be able to download a magnet link from the CLI and not worry about what some fancy GUI is doing in the background cuz I am paranoid.
评论 #14912931 未加载
评论 #14917884 未加载
评论 #14913017 未加载
评论 #14913480 未加载
评论 #14914011 未加载
zitterbewegungalmost 8 years ago
It looks great but the top GIF makes it seem like you are offering a command line BT client. If I were you I would have it slowly scroll through the code of the client in the GIF or put a few frames of code of the client and or some compiling and then show the current top GIF.
评论 #14911957 未加载
yodsanklaialmost 8 years ago
Nice work. I'm wondering, how would you test/benchmark such an application. Besides manual testing on a variety of torrents, how would you do regression test there? same question for benchmarking. How to compare this work with another client?
评论 #14914917 未加载
djhworldalmost 8 years ago
Really like the approach around using Guice as a central point for hooking your own code into the system.<p>Will look forward to reading through the code later!
评论 #14918018 未加载
styflealmost 8 years ago
I&#x27;m curious, it looks like the screenshot shows the author is using a Mac. But Mac OS hasn&#x27;t shipped with Java in several years. So why Java? Is it simply familiarity, or are there other reasons?
评论 #14912248 未加载
评论 #14913196 未加载
评论 #14912209 未加载
segmondyalmost 8 years ago
Amazing work, how long did it take to build? Where you working on it full-time or part-time?
评论 #14917367 未加载
intellixalmost 8 years ago
I remember using Java based client Azureus and the memory usage was huge. Overnight it would leak to about 1Gb. Later uTorrent appeared and it used 2mb... Forever<p>I guess nothing to do with this but was triggered by two combined words: Torrent and Java
amzansalmost 8 years ago
It&#x27;s great to see projects like this on HN. Congrats man, well done!
nunobritoalmost 8 years ago
Hello, thank you for writing the library.<p>On my context it is useful for downloading large files without depending on a single point of failure or fixed location.<p>Have a question in regards to the example syntax:<p>client.startAsync(state -&gt; { if (state.getPiecesRemaining() == 0) { client.stop(); } }, 1000).join();<p>This is a feature from newer Java syntax that I&#x27;m not yet familiar enough with lambdas to understand in full what is happening.<p>Perhaps I can ask for an example that replaces the &quot;-&gt;&quot; into the older Java syntax? I know this would likely come at the cost of a few extra lines, it would certainly ease a lot for many developers looking at the example. Many thanks.
评论 #14917888 未加载
评论 #14918633 未加载
wodencafealmost 8 years ago
Wow thanks man! This can be useful in a variety of circumstances!
ikureialmost 8 years ago
Not very familiar with the Java world yet. I&#x27;ve heard Android now supports at least some features from Java 8, but would this library work in an Android app?
评论 #14918000 未加载
tonyricealmost 8 years ago
It&#x27;s amazing how this made it to the front page of HN and I had no idea until now. I actually discovered this by googling a couple hours ago :)
flarcoalmost 8 years ago
Wonderful Lib!
alexanderbiscalmost 8 years ago
It&#x27;s possible in Azureus, but it might be a lot of effort to turn the functionality into a library.