Taking out all of the obvious caveats related to benchmarks and benchmark comparison, is there any study (an array of well documented and unbiased tests) that compares the average execution speed of the two mentioned languages? Thanks
The best comparison that I am aware of is The Computer Language Benchmarks Game.
It compares speed, memory use and source code size for (currently) 10 benchmarks across a large number of programming languages. The implementations of the benchmarks are user-submitted and there are continuous improvements, so the standings shift around somewhat.
The comparison is currently openjdk vs C# .NET Core.
Currently it is close, but .NET Core is slightly faster on most benchmarks.
Here's a nice recent study on the subject:
Numeric performance in C, C# and Java
Peter Sestoft ([email protected])
IT University of Copenhagen Denmark
Version 0.9.1 of 2010-02-19
Abstract:We compare the numeric performance of C, C# and Java on three small cases.
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With