Java compilation [was GCs in the news]

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 23 17:29:23 PDT 2014


On Wednesday, 23 July 2014 at 11:54:19 UTC, Atila Neves wrote:
> http://benchmarksgame.alioth.debian.org/
>
> There's no good reason for C to beat C++. Even if there were, 
> it would be simple to rewrite the C++ bottleneck in C style. 
> Likewise, there's no good reason for C to beat D either.
>
> I was surprised by the Java results once they started beating C 
> at certain benchmarks years ago. But the fact is it does.
>
> Atila

It usually does in memory intensive benchmark that aren't
multithreaded. Java's GC is a free shot of concurrency that C
won't get.


More information about the Digitalmars-d mailing list