Hacker GitHub

← All repos

golang/sync

View on GitHub ↗ ★ 936 Go

[mirror] concurrency primitives

4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2017-07-14 · latest 2025-07-31

Mentions per year 4 mentions · busiest year 2017 (2)
20082026
  1. …github org in non-toy code: 1. https://github.com/golang/tools/blob/f7d99c1a286d6ec8bd4516a... 2. https://github.com/golang/sync/blob/7fad2c9213e0821bd78435a9... There are dozens and dozens throughout the stdlib and other popular go code.…
  2. …about them, but I don't know how the golang.org/x stuff is maintained; looks like this one is here: https://github.com/golang/sync
  3. …like the most sensible thing to do; even golang's new sync.Map type is implemented with mutexs (eg https://github.com/golang/sync/blob/master/syncmap/map.go#L2... ). Idiomatic doesn't mean ALWAYS do this no matter what; it is the natural…
  4. …is full of unsafe.Pointer as workaround for lack of generics, while achieving good performance. https://github.com/golang/sync/blob/master/syncmap/map.go
    comment by pjmlp · 2017-07-14 · in Toward Go 2