News for hackers. Stuff that matters.
Re:Lockless Algorithms for Mere Mortals by masklinn on Thursday July 30, 2020 @04:41AM (#23995929)
> The Go approach of “Do not communicate by sharing memory”

Calling it an approach is hardly true given Go programs are generally full of shared mutable memory, even more so when performance are of any concern because channels are rather slow (multiple locks are involved) but not only: any time you're sending a pointer through a channel (including sending pointer-like structures e.g. a map), you're sharing memory.

There are no comments on this comment yet.