4 ms·
Which programming language is fastest? (Benchmarks Game)
- kagevf 3y agoAs we keep getting reminded on IRC, it's not the language that's fast, it's its implementation. After that, how it's used; minding space/time complexity - or not - impacts speed too.
- igouy 3y ago> not the language that's fast, it's its implementation And specific language implementations are identified: C gcc 12.2.0-3ubuntu1 C clang Ubuntu clang version 15.0.2-1 > how it's used And specific source code is shown: https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/simple-java-1.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- rurban 3y agoOnly the major languages and implementations. Hundreds of faster variants are missing
- Rochus 3y agoLike?
- igouy 3y agoOberon :-)
- Rochus 3y agoThanks for the hint. Even if the resulting binaries are pretty fast, it's still slower than a native C++ implementation of the same algorithms (but not much), see https://github.com/rochus-keller/Oberon/blob/master/testcases/Are-we-fast-yet/Are-we-fast-yet_results_linux.pdf https://github.com/rochus-keller/Oberon/blob/master/testcase...
- kebsup 3y agoThe website is not very intuitive. How do I compare let's say C vs. Dart? The programs seem the same. Also the results seem to be sorted randomly.
- igouy 3y ago> How do I compare let's say C vs. Dart? https://benchmarksgame-team.pages.debian.net/benchmarksgame/box-plot-summary-charts.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... > The programs seem the same. Which programs seem the same? > Also the results seem to be sorted randomly. Which results seem to be sorted randomly? https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/ruby-python3.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... — sorted by "cpu secs" https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/fannkuchredux.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... — sorted by "secs" https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/fannkuchredux-gz.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... — sorted by source code "gz"
- deleted 3y ago[deleted]