News for hackers. Stuff that matters.
Re:The cost of dynamic vs. static dispatch in C++ (2013) by jjaredsimpson on Saturday February 28, 2015 @12:29PM (#9124333)
Article just seems like "I misused some feature X and it was slower than something else."
Re:The cost of dynamic vs. static dispatch in C++ (2013) by tezka on Saturday February 28, 2015 @06:34PM (#9125459)
no it's not. it's more like, the most common dispatch pattern used in C++ (and most other OO languages) as a factor of 7x performance penalty over the less widely embraced alternative. The popularity of the former methods is partly due to the ignorance of programmers to its performance implications. I have seen huge code bases that had to be retired because of their over reliance on OO, and dynamic dispatch.
Re:The cost of dynamic vs. static dispatch in C++ (2013) by kazinator on Saturday February 28, 2015 @08:34PM (#9125695)
> I have seen huge code bases that had to be retired because of their over reliance on OO, and dynamic dispatch.

What were they replaced with?