Matt Moore


Back in August I wrote up a sample executing a function 50 times in parallel using goroutines and channels. In that example, the code was as follows

package main

import "fmt"
import "time"

In the past I've used threads in C++ and Java for parallel programming. But I'd heard that concurrency and parallelism is easier in Go. So I set out to understand the basics of concurrency and…