News for hackers. Stuff that matters.
Re:D is being used for autonomous driving research – Audi an... by totalperspectiv on Monday June 24, 2019 @06:22PM (#20269145)
Good point, I had always just taken for granted that C would be faster, and it's not! (Obvious disclaimers about benchmarks inserted here https://benchmarksgame-team.pages.debian.net/benchmarksgame/...).
Re:D is being used for autonomous driving research – Audi an... by __d on Tuesday June 25, 2019 @08:39AM (#20273586)
I'll point out that those benchmarks show C++ faster for four, C faster for five, and both the same for one scenario.

Modern C++ enables some very concise expression, at the cost of significant language complexity, and enormous compile-time cost.

C requires more work from the programmer, but is vastly quicker to compile.

Re:D is being used for autonomous driving research – Audi an... by igouy on Tuesday June 25, 2019 @12:45AM (#20271257)
> and it's not!

Well those numbers seem to show some C programs are faster than the C++ programs they are compared to; and other programs are not.