News for hackers. Stuff that matters.
Re:Featherweight Go by leetrout on Sunday May 31, 2020 @08:25AM (#23369112)
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-...
Re:Featherweight Go by ainar-g on Sunday May 31, 2020 @09:03AM (#23369309)
That's the previous design based on contracts.

https://github.com/wenkokke/featherweight-go-gen

This one seems to be the new FGG one.

Re:Featherweight Go by 4ad on Sunday May 31, 2020 @08:46AM (#23369219)
That's from the previous generics proposal, substantially different from this one.
Re:Featherweight Go by jhoechtl on Sunday May 31, 2020 @03:35PM (#23372010)
This is the intersting discussion. What of the two proposals will receive the Go authors blessing? Isn't the arxiv version just a Guerilla attempt?
Re:Featherweight Go by bmichel on Sunday May 31, 2020 @04:53PM (#23372640)
The 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.
Re:Featherweight Go by jhoechtl on Monday June 01, 2020 @04:48AM (#23376490)
Thanks for clarification. I followed the discussion in 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.