The code is here, if you're curious: http://github.com/jackpal/Taipei-Torrent
I wrote a little postmortem about the development process on my blog:
http://grammerjack.blogspot.com/2010/01/writing-bittorrent-client-in-go.html
This was a fun project, and go worked very well as an implementation
language for this problem domain.
The most frustrating parts of the project:
+ Getting UDP broadcast to work. (This may be an OSX-specific issue
that may be fixed in more recent versions of the net package. I
haven't had a chance to test the newer code.)
+ Understanding and using the reflect package. (There are still things
about the reflection of interface values and slices that I don't
understand.)
- Mike
On Jan 21, 12:06 am, Jack Palevich <jack.palev...@gmail.com> wrote:
> I wrote a simple command-line-based BitTorrent client in go. It took
> me about 8 days, and the result is about 3000 lines of go code.
>
> The code is here, if you're curious:http://github.com/jackpal/Taipei-Torrent
>
> I wrote a little postmortem about the development process on my blog:
>
> http://grammerjack.blogspot.com/2010/01/writing-bittorrent-client-in-...
Great writeup. Very interesting reading - I would love to see more of these.
Andrew