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.

A Taipei-Torrent postmortem: Writing a BitTorrent client in Go

40 pointsby marketerover 15 years ago

2 comments

matthavenerover 15 years ago
The sample code is pretty interesting from a return value vs exception perspective: despite being forced to look at return values, the code still silently ignores all errors
评论 #1069138 未加载
stcredzeroover 15 years ago
bencode serialization is 800 lines!? I wrote under 50 in Smalltalk. In fact, I think it was less than half that. (To be fair, you can do this by adding recursive methods to Streams, which already have infrastructure to deal with the external environment.)
评论 #1069162 未加载