[go-nuts] [generics] Awkwardness interfacing between primitives and structs

2020-06-17 Thread Hunter Herman
Suppose I want to write a function over any list like container (histogram, reverse...) how can I? Java requires special code if you want to process arrays — thus most code takes Lists, and accepting an array (eg a vararg) is likely to lead to a copy into a list at some point. Is go fated to inh

Re: [go-nuts] Re: Considering dropping GO386=387

2020-07-17 Thread Hunter Herman
Hi Austin! I’m very curious about the register based calling convention you referenced in your email. Could you share more (informal is fine) details? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiv

[go-nuts] Block deprecated methods in git diffs

2020-11-19 Thread Hunter Herman
Go can’t break backwards compatibility, but we all know there are apis and features we wished were removed. What if go vet was extended to check if deprecated apis were used in the current git diff? Go can’t delete apis, but by extending go vet it can push back hard against their usage. It’s

Re: [go-nuts] Re: Considering dropping GO386=387

2020-07-17 Thread 'Hunter Herman' via golang-nuts
Thank you!  Ian Lance Taylor wrote: “On Fri, Jul 17, 2020 at 12:54 AM Hunter Herman wrote: > > Hi Austin! I’m very curious about the register based calling convention you > referenced in your email. Could you share more (informal is fine) details? See https://golang.org/issue/