Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You don't need a benchmark. Given any C code, you can make a C++ code that runs as fast (just use the same code). This proves that C++ is at least as fast as C.

From there, maybe you could use C++ features to improve the speed (and then C++ is faster) or you could not (and then they have the same speed).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: