News for hackers. Stuff that matters.
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.
Re:The case against a C alternative by account42 on Tuesday August 09, 2022 @10:14AM (#32398258)
All equivalent code has the same performance with a sufficiently smart compiler. In practice, compilers are often not sufficiently smart.
Re:The case against a C alternative by pjmlp on Tuesday August 09, 2022 @08:02AM (#32396678)
Without the related typechecking.