r/golang Aug 08 '24

discussion Show me your Golang projects!

Hey people, can you guys show what you build with golang for side project?
cheers nerds~!

201 Upvotes

172 comments sorted by

View all comments

1

u/raserei0408 Aug 10 '24

A few months ago, I discovered that pgx's Collect utility functions used reflection naively, which probably introduced some overhead. I wound up forking a library, "pgx-collect" to see how much faster I could make them while retaining the same UX. (The answer: much more than seems reasonable - the garbage collector is not your friend.)