4 ms·
The benchmark game is always full of these things. Some people are very motivated to make their language shine on it, so it has good[1] implementations, almost
by sgift 5y ago
The benchmark game is always full of these things. Some people are very motivated to make their language shine on it, so it has good[1] implementations, almost everything else is bad. Really, really bad. It's best to just ignore it.
[1] With good defined as fast. Many of the implementations there are so contorted that no one in their right mind would use anything like it in production. But they are fast.
- johnisgood 5y agoYep. There were two implementations of whatever in Ada, but one of them failed to print the right output, so was disregarded in favor of the slower, but correct one. I fixed the implementation and now Ada is way, way faster. If I remember correctly I actually had the conversation with whoever is responsible for that website here on HN, and I posted the correct code here (via a link).
- igouy 5y agoSo — programs have to show the correct output — program source code is shown — programs can be contributed What was the problem?
- deleted 5y ago[deleted]
- johnisgood 5y agoAre you asking specifically about what I had to do to fix the faster, but previously incorrect implementation? It is on HN somewhere. Other than that, there is no problem. Perhaps people who took the site too seriously may have gotten the wrong idea about the language's performance.
- igouy 5y agoYou answered "Yep" to someone's comment that the benchmarks game was "Really, really bad." and that didn't really seem to be the experience you described?
- johnisgood 5y ago> Some people are very motivated to make their language shine on it, so it has good[1] implementations, I said "Yep" as in "Yep, some people do contribute", and it has good implementations for some, while shitty ones for others, and it should not be taken way too seriously because of what he just said.
- igouy 5y agoJust seriously enough :-)
- johnisgood 5y agoYup, enough just to give me a little nudge towards the direction I was already leaning! If my favorite language is slow, I will not take it seriously at all. :)
- igouy 5y agoYour a man after my own heart!
- igouy 5y agoHere are 2 of the programs austincheney referenced. What in particular is wrong about comparing measurements of these programs? n-body Node js #6 https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-node-6.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... n-body Java #4 https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-java-4.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...