[Mono-list] Mono C# versus Java 6 -server performance
Robert Jordan
robertj at gmx.net
Thu Nov 29 08:54:09 EST 2007
Robert Hulme wrote:
> Hi,
>
> I have recently been part of a discussion with colleagues about the
> merits of C# versus Java. I am of the opinion that C# is a superior
> language, but my colleagues questioned whether the performance is
> comparable on Linux (which is what we use here at EBI).
>
> I had a look on the Language Shootout, comparing Mono 1.2.5 with Java 6
> -server.
> http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=csharp
>
> In almost all the benchmarks Mono C# was significantly slower than Java 6.
Significantly?
Out of 17 programs, Java was 9 x 1.xx times better, 2 x 2.xx times
better and 2 times significantly better. These 2 programs
(pidigits & regex-dna) are slow on Mono regardless of the
language Mono is compared with.
BTW, Java's pidigits uses native calls to gmplib (http://gmplib.org/).
This is called cheating ;-)
Robert
More information about the Mono-list
mailing list