Re:My experience with the computer language shootout
by dkarl on Sunday April 03, 2011 @09:15PM
(#2404803)
It might be more reasonable than it seems at first glance. It's true that it's good to know how fast typical code runs, but there's another important question: when I run into performance problems and need to optimize a bottleneck, how fast can I make it before I have to resort to non-portable code or C extensions that complicate my build process?
[ Parent
| on HN ]
Re:My experience with the computer language shootout
by dagw on Monday April 04, 2011 @04:36AM
(#2405840)
Anybody writing, for example, Python code to solve these sort of problems in the real world would instantly reach for numpy. Which, while not part of the core language distribution, is pretty close to being a standard library for most python programmers. I'm sure several of the other languages have similar libraries that are being ignored in these benchmarks. Without taking things like that into account, theses results don't say too many useful things about real world performance.
Re:My experience with the computer language shootout
by igouy on Monday April 04, 2011 @03:14PM
(#2408062)
They say what difference numpy might make!
http://shootout.alioth.debian.org/u64q/program.php?test=spec...
http://shootout.alioth.debian.org/u64q/program.php?test=spec...
Re:My experience with the computer language shootout
by dagw on Monday April 04, 2011 @04:05PM
(#2408280)
Cool, I missed that
Re:My experience with the computer language shootout
by justincormack on Monday April 04, 2011 @06:09AM
(#2405976)
Languages/implementations also vary in how much overhead switching to C costs you, especially in loops say, which eg the pidigits benchmark does sort of measure.