4 ms·
No idea why you're getting downvoted, but I agree that Russ Cox' criticism of the AWS article is justified, amongst others because of the 2017 (!) Portuguese st
by rob74 5y ago
No idea why you're getting downvoted, but I agree that Russ Cox' criticism of the AWS article is justified, amongst others because of the 2017 (!) Portuguese study it cites - a scientific study that ranks the "energy efficiency" of programming languages based on Computer Language Benchmark Games - really? I mean, how about looking at some real world applications instead?
- igouy 5y agoWhat explanation is given in that 2017 paper for selecting programs from the benchmarks game? ---- Meanwhile we can do better than "every C program is a valid C++ program, so C++ can’t lose" defensiveness. Look at the data tables published with that 2017 paper: https://sites.google.com/view/energy-efficiency-languages/results https://sites.google.com/view/energy-efficiency-languages/re... There's an order of magnitude difference between the times of the selected C and C++ programs, for one thing — regex-redux. That is enough to explain all of the difference between the C and C++ time measurements shown in "Table 4. Normalized global results". (Seems like an outlier which could have been excluded.)