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.

Network Programming with Go

100 pointsby basilalmost 13 years ago

6 comments

astoalmost 13 years ago
I find it funny how he skips an introduction to Go saying there are many such introductions already available but explains networks and the internet in great detail!
stewie2almost 13 years ago
I really like this book, but what I found most difficult when implementing a website is the authentication part.<p>How password should be encrypted? How session id should be generated and passed to the user? How session information should be saved? (cookie? file? database? memory?)<p>Also, I'd be interested in https, from theory to implementation.
评论 #4091276 未加载
评论 #4091412 未加载
评论 #4091055 未加载
plfalmost 13 years ago
Aside from being interesting and a new thing to learn, is Go used extensively in the professional world?<p>For network programming I've often used Python + Twisted + ZMQ, what are the most commonly used alternatives?
评论 #4090864 未加载
评论 #4091457 未加载
评论 #4090771 未加载
评论 #4090879 未加载
评论 #4090769 未加载
noselasdalmost 13 years ago
Is there any way you can control the number of native threads in go ? I wrote a small go example that used net/smtp to bombard myself with emails. Just a loop that fired off a goroutine, which each sent an email.<p>It was quite disturbing that firing off several thousand goroutines resulted in several thousand native threads - resulting the system trashing. If I inserted a very small pause between creating the go routines, this did not occur and just 1 or 2 native threads were created. I tried the runtime.GOMAXPROCS, to no awail. Is there any way of controlling this kind of behavior ?
评论 #4093859 未加载
pjmlpalmost 13 years ago
Ever notice how all Go tutorials are just about Web servers somehow?
vascoalmost 13 years ago
It seems like when trading C for Go I'll be trading a few more lines of code for a bunch of black magic and a new syntax. Not sure if want.
评论 #4090876 未加载
评论 #4091817 未加载