D and Nim
weaselcat via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jan 4 15:38:54 PST 2015
On Sunday, 4 January 2015 at 21:46:09 UTC, Ary Borenszweig wrote:
>
> There are examples of D code in these two repos:
>
> https://github.com/logicchains/LPATHBench
> https://github.com/kostya/benchmarks
>
> Take a look at for example the first one in D and Nim:
>
> https://github.com/logicchains/LPATHBench/blob/master/d.d
> https://github.com/logicchains/LPATHBench/blob/master/nim.nim
>
> According to the writeup:
>
> https://github.com/logicchains/LPATHBench/blob/master/writeup.md
>
> Nim is faster than D. And it does so with much less code.
the D implementation was a straight translation from C++ and the
nim version was written by a regular nimrod contributor...
More information about the Digitalmars-d
mailing list