-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeLanguageChangeSuggested changes to the Go languageSuggested changes to the Go languageNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ProposalgenericsIssue is related to genericsIssue is related to genericsv2An incompatible library changeAn incompatible library change
Milestone
Description
This issue proposes that Go should support some form of generic programming.
It has the Go2 label, since for Go1.x the language is more or less done.
Accompanying this issue is a general generics proposal by @ianlancetaylor that includes four specific flawed proposals of generic programming mechanisms for Go.
The intent is not to add generics to Go at this time, but rather to show people what a complete proposal would look like. We hope this will be of help to anyone proposing similar language changes in the future.
Rican7, bradfitz, joshsharp, ianlancetaylor, MovingtoMars and 1995 moreledongthuc, mcostacano, juicemia, cpg1111, manniwood and 147 moreSimon0x, dsnet, c614b9f675, snadorp, slava-vishnyakov and 197 moreScottMansfield, hargettp, icholy, colemickens, christianpv and 490 moreyanpozka, techjanitor, ahmetb, thinxer, oneumyvakin and 64 morediegobernardes, bradfitz, odeke-em, christianpv, methane and 450 moreshawnblakesley, j-martin, Heimdell, ifnotak, houdinihacker and 48 morexelnagamex, ijustfool, simon-ding, szpak, jramonrod and 28 more
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeLanguageChangeSuggested changes to the Go languageSuggested changes to the Go languageNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ProposalgenericsIssue is related to genericsIssue is related to genericsv2An incompatible library changeAn incompatible library change