Not all your code deserves a clever lock
Most concurrency bugs come from optimizing code that never needed to be fast in the first place.
meow.log home
more posts
Most concurrency bugs come from optimizing code that never needed to be fast in the first place.
Channels feel cleaner. Mutexes are faster for reads.
Go has a different answer to concurrency than most languages.
What happens when two goroutines write to the same map at the same time.