Quantcast
Channel: Blog | Dell
Viewing all articles
Browse latest Browse all 17822

Java 7 vs. C++ Speed

$
0
0
EMC logo

I just found this interesting benchmark results:

http://benchmarksgame.alioth.debian.org/u64q/java.php

The benchmark compares the same algorithm implemented in different programming languages. Interesting on this result is that the Java 7 implementation of some algorithms, like mandelbrot, is as fast as the C++ implementation. In the worst case Java needs only the double amount of time.

Of course there is a price to pay. Java uses in some cases a lot more memory.

But in times where memory is available almost for nothing, there is not much space left for business software* in C++. The faster development speed that comes from garbage collection and higher level apis will easily pay for some more memory.

This is no new knowledge. Allmost all new started business software projects, I hear about, are java or sap based. I was just surprised how fast java is in the benchmark.

* business software: In this case I mean “business software” as a software running on a server, multiple users, performing some business functions in any case, often a custom development for company needs. (With this definition e.g. Microsoft Office is not business software. Something like Jira would be a buisness software with my definition.)

Update your feed preferences

Viewing all articles
Browse latest Browse all 17822

Trending Articles