Hacker News new | ask | show | jobs
by cletus 1990 days ago
Another comment mentions this is the third (serious) attempt at adding generics to Go.

Is there any concise history of these attempts (including this one)? I'd like to understand the gist of these proposals and what ultimately derailed them.

By themselves these proposals are pretty inscurtable.

2 comments

The major difference is the first proposal separated interfaces from concepts, later proposals (very wisely) unified them. Only concepts could be used in type constraints.

They also switched from parenthesis () to square brackets [], thankfully.

The golang nuts mailing list archive might be the best place to start. https://groups.google.com/g/golang-nuts
That is surely a history, but concise? Nope...
What I meant was, go ask there.