在windows vs linux中,java计算程序的速度会有什么不同? [英] What would be the speed different for java calculation program in windows vs linux?

查看:53
本文介绍了在windows vs linux中,java计算程序的速度会有什么不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道可能没有完美的客观答案,但有人创造了这样的基准吗?或者我应该期待多少不同?这些年来计算机硬件相当不错,现在差别不大了?我主要关心的是一个程序,除了一个非常基本的摇摆gui作为控制面板之外,主要是在阵列中的大量数据中进行了大量的计算而没有图形。如果我们有相同的硬件和相同的java代码用于计算程序,那应该是什么区别?

I know there may be no perfect objective answer for this, but did someone create benchmark like this? Or around how much different should I expect? The computer hardware is pretty good in these years, then there is not much different now? I main concern is a program that mainly purely a lot of calculation in a lot of data in array with no graphic except a very basic swing gui as control panel. If we have the same hardware and same java code for the calculation program, what difference should that be?

推荐答案

没有区别。这是因为Java是中间层,因此充当应用程序和底层操作系统之间的桥梁。因此,应用程序速度的唯一决定因素实际上不是底层操作系统,而是Java平台。
There would be no difference. This is because Java is the middle tier and is therefore acting as a bridge between your application and the underlying Operating System. Therefore, the only determinant to how fast your application is is not actually the underlying Operating system, but the Java platform.


这篇关于在windows vs linux中,java计算程序的速度会有什么不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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