Remix.run Logo
SpaceManNabs an hour ago

Wait generics? What changed? Why is golang accepting of generics now?

a2ff6eeb0 an hour ago | parent | next [-]

They landed half a decade ago...

an hour ago | parent [-]
[deleted]
nrr an hour ago | parent | prev [-]

There are some details here about the history of how generics finally came to Go: https://golang.design/under-the-hood/en/part2lang/ch08generi...

The tl;dr boils down to a combination of valuing both compilation speed and execution speed.