HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by pjc50 | Hacker News Reader
Parent
Full thread
pjc50
·
C has a generic: "void *". It just doesn't have any type safety.
View on HN
eutectic
·
It also has bad performance if you need to pass function pointers around.
pjc50
·
Is this noticeably worse than calling through the vtable?
eots
·
In C++ generics don't involve calling through a vtable.
Reply on news.ycombinator.com