News for hackers. Stuff that matters.
Re:Why Generics? by ernst_klim on Thursday August 01, 2019 @04:11AM (#20581986)
> various tradeoffs(fast compile? fast runtime? binary size? Pick 1 or 2)

Interfaces are boxed already, so you've paid the price without having type safety. Simply treat a polymorphic function as if it accepted interface{}.

There are no comments on this comment yet.