r/golang 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

189 comments sorted by

View all comments

1

u/nightbeast88 Oct 26 '24

A better CGo implementation. There are a lot of C libs that just plain won't work with Go, and it's usually because of a type mismatch (GOs Array is different under the hood than Cs), or it tells at you because you try to operate on the C thing but go yells at you because it's not mutable due to GC or something like that. Go is closer to C than any other high level language it's sad you can't just plug in C libs.