Optimizing Java using D

safety0ff via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 20 18:54:45 PDT 2014


On Saturday, 21 June 2014 at 01:30:58 UTC, bearophile wrote:
>
> The attention span of Reddit is excessively small, so 
> corrections often seem ignored, but if you have tested the D 
> code, then I suggest you to also compare the timings of the C++ 
> version(s) on the same computer and post the two (or more) 
> timings in that Reddit thread. Decreasing a bit the bad 
> advertising that is floating around about D doesn't hurt :-)

I don't have a reddit account.

See also:
https://github.com/logicchains/MagicForest/pull/2#issuecomment-46741029

Both using stable sorts : D version runs in 3s and C++ version in 
3.2s under similar conditions.

Clang++ 3.4.1
LDC2 0.12.0 based on DMD v2.063.2 and LLVM 3.4.1


More information about the Digitalmars-d mailing list