4 ms·
Info on the current implementation of generics in Go how to tryout the generics branch parhamn mentions is available at https://blog.tempus-ex.com/generics-in-g
by leetrout 6y ago
Info on the current implementation of generics in Go how to tryout the generics branch parhamn mentions is available at https://blog.tempus-ex.com/generics-in-go-how-they-work-and-how-to-play-with-them/ https://blog.tempus-ex.com/generics-in-go-how-they-work-and-...
- 4ad 6y agoThat's from the previous generics proposal, substantially different from this one.
- jhoechtl 6y agoThis is the intersting discussion. What of the two proposals will receive the Go authors blessing? Isn't the arxiv version just a Guerilla attempt?
- bmichel 6y agoThe former proposal was made by 2 members of the Go core team. And they are also in the team of the latter proposal. So, no, the first proposal wasn't good enough for the Go authors and the new proposal is in no way a guerilla attempt.
- jhoechtl 6y agoThanks for clarification. I followed the discussion in https://go-review.googlesource.com/c/go/+/187317 https://go-review.googlesource.com/c/go/+/187317 loosely, thought that this is the only way to go and wasn't aware of a second investigation stream.
- ainar-g 6y agoThat's the previous design based on contracts. https://github.com/wenkokke/featherweight-go-gen https://github.com/wenkokke/featherweight-go-gen This one seems to be the new FGG one.