Java的对C#:是否有任何比较它们的执行速度的研究? [英] Java vs C#: Are there any studies that compare their execution speed?

查看:143
本文介绍了Java的对C#:是否有任何比较它们的执行速度的研究?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

考虑所有相关的基准和基准比较明显的警告,是有没有研究(有据可查,公正的测试的阵列)比较了上面提到的两个语言的平均执行速度? 谢谢

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.

它比较速度,内存使用和来源$ C ​​$ C尺寸在大量的编程语言(目前)11基准。基准的实现是用户提交的,有continouous改进,因此在积分榜上游移一些。

It compares speed, memory use and source code size for (currently) 11 benchmarks across a large number of programming languages. The implementations of the benchmarks are user-submitted and there are continouous improvements, so the standings shift around somewhat.

所有的比较都是做在Linux上,因此它是衡量C#/单声道,而不是C#/ Microsoft.NET。但它是我的即时通讯pression这两个是在速度现在。

All comparisons are done on Linux, so it is C#/Mono that is measured and not C#/Microsoft.NET. But it is my impression that those two are comparable in speed nowadays.

目前Java是制胜的速度,但C#/单声道赢了内存使用。< /一>,但请注意,由于某种原因,Java实现是多线程的,而大部分的C#/单声道的实现是单线程。

Currently Java is winning on speed, but C#/Mono is winning on memory use., but note that for some reason the Java implementations are multithreaded, while most of the C#/Mono implementations are singlethreaded.

这篇关于Java的对C#:是否有任何比较它们的执行速度的研究?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆