Hacker News new | ask | show | jobs
by jmccaffrey 5227 days ago
C++ actually has some performance advantages over C, especially relating to static polymorphism (qsort v. std::sort)
1 comments

Technically you can do tricks like that with the C preprocessor, though it is a bit ugly and lacks automatic instantiation.
It is also not type safe.