Go Time: Golang, Software Engineering

So do we like Generics or not?

07.25.2023 - By Changelog MediaPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

So, do we like generics or not? Some people feared they’d be the end of the language. Others were very hopeful, and had clear use cases, and were thrilled about the feature coming to the language. It was also often touted as the reason a lot of people didn’t adopt Go. So what do we think now? Mat and Kris are joined by Roger Peppe and Bryan Boreham to discuss the state of Generics in Go.

Leave us a comment

Changelog++ members save 1 minute on this episode because they made the ads disappear. Join today!

Sponsors:

Fastly – Our bandwidth partner. Fastly powers fast, secure, and scalable digital experiences. Move beyond your content delivery network to their powerful edge cloud platform. Learn more at fastly.com

Fly.io – The home of Changelog.com — Deploy your apps and databases close to your users. In minutes you can run your Ruby, Go, Node, Deno, Python, or Elixir app (and databases!) all over the world. No ops required. Learn more at fly.io/changelog and check out the speedrun in their docs.

Typesense – Lightning fast, globally distributed Search-as-a-Service that runs in memory. You literally can’t get any faster!

Featuring:

Roger Peppe – Twitter, GitHubBryan Boreham – TwitterMat Ryer – Twitter, GitHub, LinkedIn, WebsiteKris Brandow – Twitter, GitHub

Show Notes:

New slices package

Go 1.21 release notes

Roger’s talk on unconstrained generics

Roger’s proposal on type assertions

Roger’s generics mini testing framework

Mat’s mini testing framework

Dishwasher video

Dishwasher video v2

Something missing or broken? PRs welcome!

More episodes from Go Time: Golang, Software Engineering