Golang Explorations – Prime Number Identification

As I learn about the Go programming language I thought I’d share some of what I’ve learned as an occasional series.

My current Go exploration is prime number identification and the use of Go to efficiently (and easily!) spread the workload across multiple CPUs, using language features such as goroutines and channels. You can find it (warts and all) via this link to my GitHub! The takeaway from this is that channels are cheap but not free – for that matter neither are goroutines – and that a good mix of the two results in some very powerful code.

Leave a Reply

Your email address will not be published. Required fields are marked *

*