Do everything in Java…

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 8 04:09:19 PST 2014


On Monday, 8 December 2014 at 10:31:46 UTC, John Colvin wrote:
> After changing the benchmark to more carefully measure the 
> integration function (ldc was unfairly taking advantage of 
> knowing a and b at compile-time), scala does indeed win by a 
> small margin.
>
> I wonder what it's managing to achieve here? AFAICT there 
> really isn't much scope for optimisation in that while loop 
> without breaking IEEE-754 guarantees.

Maybe scala takes the same advantage?


More information about the Digitalmars-d mailing list