0
comment
comment
on 6/20/2015 7:20 AM
As a reference implementation, I added C++ one: It's execution time is 1.33 seconds, which surprisingly is not the best result so far. A C# version: Also, I compiled this D code with GDC compiler and it executed in 990 ms, which is the best result:D (GDC) - 0.990C# - 1.26D (DMD) - 1.3C++ - 1.33F# - 1.38Nemerle - 1.45Rust - 1.66Go - 2.38Haskell - 2.8Clojure - 9Erlang - 17Ruby - 60Python - 120Unfortunately, I have not managed to compile the D code with LDC compiler, it returns the following error:Building:[...]