I am new to Go, coming from a Javascript/Node.js background, and I am trying to figure out how to do parallel programming that uses multiple cores. Given that I have never done this in another language, I don't have any point of reference for common patterns and I am completely new to this idea, though I am not new to programming in general.
Doe anyone know of any good resources for teaching how to approach these problems, preferably from a Go perspective. But I would be willing to look at them in another language if I have to. I could comfortably handle examples in Java and C and probably Python, but would prefer Go.
Thanks in advance!
评论:
anoland:
It was the video by Rob Pike about sawsal that gave me an idea about the heritage of golang's concurrency primitives. He talks about some actual problems they had to solve and what tools they needed to build to solve them.
