Hacker News new | past | comments | ask | show | jobs | submit login

Nice article. A quick note though. Channels in Go are not used for Inter Process Communication, they are for communication and synchronization of data between functions.

From Go's spec: "A channel provides a mechanism for two concurrently executing functions to synchronize execution and communicate by passing a value of a specified element type."




Ahh. Thanks. BTW, Rob Pike added a comment on the blog to discuss a better way to do this, and another dev wrote up Pike's solution to the comments. http://www.mprescient.com/journal/2011/1/9/concurrency-in-go...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: