4 ms·
There are lies, utter lies and benchmarks.
by GoblinSlayer 5y ago
There are lies, utter lies and benchmarks.
- TheMonarchist 5y agoI agree in sentiment, but those results are actually pretty close to what I expected to see. Edit: I was most surprised to see Pascal on top, but that's probably due to it being very old. Back then it had to be fast by modern standards, to be usable on contemporary machines.
- GoblinSlayer 5y agoMaybe a more compact heap? If the C heap does more bookkeeping or sentinels, then there would be a bit of overhead.
- OldHand2018 5y agoKeep in mind that these results were presented at a conference in 2017. Both Go and Rust have had compiler improvements since then. Would that change the rankings if rerun today? Maybe! > We analyzed 27 different programming languages, each with roughly 10 solutions to the proposed problems, totaling out to almost 270 different cases. These solutions were developed by experts in each of the programming languages, with the main goal of "winning" by producing the best solution for performance time. While the different languages contain different implementations, they were written under the same rules, all produced the same exact output, and were implemented to be the fastest and most efficient as possible. Having these different yet efficient solutions for the same scenarios allows us to compare the different programming languages in a quite just manner as they were all placed against the same problem. If this is their methodology, I'll give them the benefit of the doubt on their results. I'd love to see the code!