On Wednesday, 17 September 2014 at 14:45:59 UTC, Andrei
Alexandrescu wrote:
On 9/16/14, 11:59 PM, bearophile wrote:
Andrei Alexandrescu:
https://issues.dlang.org/show_bug.cgi?id=13487
If the upload conditions and site are sufficiently good I am
willing to
offer some implementations in D and to keep them updated. I
suggest to
add two D versions for some benchmarks, one that shows short
high level
code, and one that shows longer hairier fast code.
In some cases I'd even like to show a third "safe" version
(that tries
to be more correct), but most Shootout/ComputerGame benchmarks
are not
very fit for this (you can see some examples of this on
Rosettacode).
I'm glad folks like Alexander, Russel, and yourself are
interested in chipping in. Thanks!
Let's do it all on the github repo. Add a directory e.g.
tools/benchmarks/ and organize things in there.
Thanks,
Andrei
Would this be limited to the Computer Language Benchmarks Game?
This paper has gotten a lot of attention among economists:
http://www.econ.upenn.edu/~jesusfv/comparison_languages.pdf
They mention D, but only to say "D, which generates code usually
roughly of the same speed as C++, is less popular". Demonstrating
that you can write code that is competitive with C++ but in an
elegant language would be powerful.
Another site is
http://quant-econ.net/
which has gotten a lot of attention. It uses Python. I'd like to
write D versions of the programs to demonstrate that you can have
a language that's both nicer than Python and much, much faster.