http://shootout.alioth.debian.org/u64q/program.php?test=spec...
http://shootout.alioth.debian.org/u64q/program.php?test=spec...
My experience is that this is the sort of thing where everyone rags on it, but no one actually attempts to provide something "better".
Former cop Rory Miller writes about this in his book, the police experimented with BJJ and found it useless. Why? Because in BJJ you pin your opponent on his back because it makes a better show for the audience, but as a cop you always pin your opponent on his front so you can handcuff him!
Also, I think that we all know enough about programming and languages and their many uses that we can talk directly about it, rather than about an analogy.
And they're going to do benchmarks.
So you can either complain that they're not good, or you can try and improve them.
Yes, that sentence is literally correct. But it sounds like it's saying one option is not useful. And I still haven't heard a single reason why reviews of benchmarks are bad.
Responding to a criticism with "those who can't do criticize" is super, super boring. It's been done to death. You're just tarring all criticism with an overly broad brush. If it's bad criticism why is it worth responding to? And if it's plausible criticism why aren't you focusing on the actual details?
You'd think there'd be some kind of statement about that?
http://shootout.alioth.debian.org/help.php#why
> the questions people use them to answer
You'd think there'd be some kind of advice about that?
http://shootout.alioth.debian.org/dont-jump-to-conclusions.p...
> I typically want to know "how much slower would my program be in Python?"
And we should all know the answer - It depends on how you wrote your program in C and it depends on how you write your program in Python.
A lot of the problem is in the questions they're designed to answer versus the questions people use them to answer.
For example, if I'm comparing Python and C, I typically want to know "how much slower would my program be in Python?", not "how much slower is my program in Python if I spent so much time hyper-optimizing it that I might as well have written it in C?"
But the test cases usually try to answer the latter, not the former.