Will Java go native?

PauloPinto pjmlp at progtools.org
Sun Sep 22 23:03:25 PDT 2013


On Sunday, 22 September 2013 at 02:04:11 UTC, Paul Jurczak wrote:
> On Thursday, 19 September 2013 at 09:48:15 UTC, Joakim wrote:
>> On Thursday, 19 September 2013 at 08:26:03 UTC, Russel Winder 
>> wrote:
>>> Java is no longer under-performant compared to C, C++, 
>>> Fortran, D, Go, Rust. Check the benchmarks.
>> Interesting.  Java people have been saying this for years and 
>> it's never been quite true, so I just looked up the benchmark 
>> shootout to see if you're right.  It shows Java 7 doing pretty 
>> well against C++ these days, roughly equivalent speed or at 
>> worst half as fast:
>>
>> http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?test=all&lang=java&data=u64q
>> [...]
>
> It doesn't do that well when single core is selected (always 
> slower, 4x worst case):
>
> http://benchmarksgame.alioth.debian.org/u64/benchmark.php?test=all&lang=java&lang2=gpp&data=u64
>
> It means that Java VM/libraries can explore multiple cores 
> better that C++.

Which in a day and age that you can hardly buy single core 
machines, is a big advantage.


--
Paulo


More information about the Digitalmars-d mailing list