Hacker News new | ask | show | jobs
by fraktl 1636 days ago
> I mean, C is probably the simplest tool to write fast software with

The simplicity is the hard part. Fishing for compliments by "pretending" it's so trivial to you shows immaturity.

The author definitely knows what he's talking about. Perhaps it's you who's doesn't?

1 comments

I did not mean it is 'simple' to write fast C code, but that it is 'simpler'.

Simpler in the amount of knowledge you need to have to write the fast program.

I mean just compare "C the programming language" with Stroustrup's "C++ the programming language". It took me years to understand even a fundamental thing as move semantics. When programming fast C++ you need to be able to see what is moved properly and optimized in the way you want. How classes are inlined into the code etc. What container do malloc on construction, what containers are cheap empty, and so on and on.

There is no such knowledge needed for C.