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...

Reply via email to