3 ms·
Share memory by communicating; don't communicate by sharing memory. https://golang.org/doc/codewalk/sharemem/ https://golang.org/doc/codewalk/sharemem/
by SixSigma 11y ago
Share memory by communicating; don't communicate by sharing memory.
https://golang.org/doc/codewalk/sharemem/ https://golang.org/doc/codewalk/sharemem/
- JulianMorrison 11y agoEasy to say, hard to do. You need to make sure that once you've done with the item and passed it on, you don't have any overt, tacit, or deeply-buried pointers into the item you just let go of.