Generics can make your Go code slower
I&#x27;d argue that golang is inherently not a systems language, with its mandatory GC managed memory. I think it&#x27;s a poor choice for anything performance or memory sensitive, especially a database. I know people would disagree (hence all the DBs written in golang these days, and Java before it), but I think C&#x2F;C++&#x2F;Rust&#x2F;D are all superior for that kind of application.<p>All of which is to say, I don&#x27;t think it matters. Use the right tool for the job - if you care about generic overhead, golang is not the right thing to use in the first place.