Linux
Golang – Shared Memory in Goroutines instead of channels
There are situations where you don’t want to use channels in Go, because of maintainable code or performance. In this video I’m showing a use case of when to use Shared Memory. This goes against the Golang Proverb: Don’t communicate by sharing memory, share memory by communicating.
Example code used can be found at
[ad_2]
source