Re:The case against a C alternative
by camel-cdr on Tuesday August 09, 2022 @07:43AM
(#32396553)
"void* and function pointers" behaves essentially the same as templates, assuming the compiler inlines or function clones the function called with constant expression arguments.
[ Parent
| on HN ]
All equivalent code has the same performance with a sufficiently smart compiler. In practice, compilers are often not sufficiently smart.