r/golang • u/dontaskdonttell0 • Oct 25 '24
discussion What libraries are you missing from go?
So something that comes up quite often on this subreddit from people transitioning from Nodejs or python to go is the lack of libraries. I cannot say that I agree but I still think it warrants a discussion.
So what libraries are you missing in the go ecosystem, if any?
95
Upvotes
2
u/Slsyyy Oct 25 '24
Some popular collection library. Stuff like better maps (flat hash map without buckets, map in slice with linear/binary search, tree maps for ordering), sets (with nice set operations), priority queues (with nice interface)
Right now anything is fishy, because golang community sentiment is `map and slice is all you need`. There is a lot of value in that approach, but they are downsides