u/crisp-snakeyin r/programming • Recommends
On “Generics can make your Go code slower”
This talk from Charlie Barto who works on Microsoft's implementation of std::format claims differently. Type erasure gives them both smaller code size and improved performance. Now your mileage may vary of course. The classic example in favour of specialization is the performance difference between c's sort implementation and c++'s sort.