Why Java (server VM) is faster than D?

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 3 09:55:52 PDT 2015


On Monday, 3 August 2015 at 16:53:30 UTC, Adam D. Ruppe wrote:
> On Monday, 3 August 2015 at 16:47:58 UTC, John Colvin wrote:
>> gets me down to 0.182s with ldc on OS X
>
> Yeah, I tried dmd with the final and didn't get a difference 
> but gdc with final (and -frelease, very important for max speed 
> here since without it the method calls are surrounded by 
> various assertions) and got similar speed to the hand written 
> one too.

ouch, yeah those assertions cause me a 30x slowdown!


More information about the Digitalmars-d mailing list