3min chapter

Go Time: Golang, Software Engineering cover image

So do we like Generics or not?

Go Time: Golang, Software Engineering

CHAPTER

The Performance of Generics

I expected there will be more stamping out of the different versions of the code specialized to each type. And basically, the opposite is true. Unless your type is a built in like an inter or float performance gets a little bit worse when using generics and methods on generics. So I was I was disappointed by that. It's having generics at all is vastly better than where we were before. But there are still these, wow, it's kind of corner cases that I tend to inhabit,. Where are you still reaching for other techniques? Is this like, that's forever because of the design? Or is this sort of like, over time these things will improve under the hood

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode