Comment

Comment by ncmncm

You would, if you were scrupulous, compile your C program with a C++ compiler to prove absolutely that C cannot be faster than C++, before going on to make the C++ version faster, using features that do not exist in C. .

Your benchmarks demonstrate only that it is possible to write slow code in any language, even a fast one.

It would be easy enough to make the C programs equally slow, still proving nothing about either language.

parent ncmncm 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton