Hacker GitHub

← All repos

Workiva/go-datastructures

View on GitHub ↗ ★ 7,966 Go

A collection of useful, performant, and threadsafe Go datastructures.

6 mentions on Hacker News by 5 people: 2 stories, 4 comments · first 2015-02-10 · latest 2017-12-05

Mentions per year 6 mentions · busiest year 2015 (5)
20082026
  1. …good libraries out there: - https://github.com/timtadh/data-structures ## I wrote this one. - https://github.com/Workiva/go-datastructures ## this one is also popular. - https://github.com/golang/go/wiki/Projects#data-structures ## big…
    comment by timtadh · 2017-12-05 · in Why I love Go
  2. …variable with the lock. He's using a Mutex to synchronize access on the entire struct. snippet from https://github.com/Workiva/go-datastructures/blob/master/fut... f.lock.Lock() f.triggered = true f.item = item f.err = err f.lock.Unlock()…
    comment by simonz05 · 2015-07-04 · in Golang data structures
  3. Something I've always wondered - in the futures packages ( https://github.com/Workiva/go-datastructures/blob/master/fut... ): The author has a variable `triggered` to check the state of whether or not the future is complete. Now to protect…
    comment by nemothekid · 2015-07-04 · in Golang data structures
  4. ▲ 147
    Golang data structures
    story by laex · 2015-07-04 · 58 comments
  5. …matter. We open sourced some data structures that show just how optimized we're trying to get ( https://github.com/Workiva/go-datastructures ), but in hindsight, Go might not have been the right tool for the problem.
    comment by tylertreat · 2015-02-15 · in The State of Go
  6. ▲ 3
    Go-datastructures – high-performance data structures
    story by tylertreat · 2015-02-10 · 0 comments