是.NET /单声道或Java的跨平台开发更好的选择? [英] Is .NET/Mono or Java the better choice for cross-platform development?

查看:160
本文介绍了是.NET /单声道或Java的跨平台开发更好的选择?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更少库,在那里为单声道比Java的?

How much less libraries are there for Mono than for Java?

我缺乏总览两种选择,但我选择了pretty的很大的自由度,为我的下一个项目。我正在寻找在

I lack the overview over both alternatives but I have pretty much freedom of choice for my next project. I'm looking for hard technical facts in the areas of

  • 性能(例如,有人告诉我的Java是良好的线程,和我听到运行时code优化已经为.NET成为很好的最近)
  • 真实世界的的便携性(它的两个意思是便携式的,什么是第二十二条每个?)
  • 工具可用性( CI ,构建自动化,调试,IDE)
  • performance (for example, I'm told Java is good for threading, and I hear the runtime code optimization has become very good recently for .NET)
  • real world portability (it's both meant to be portable, what's Catch-22 for each?)
  • tool availability (CI, build automation, debugging, IDE)

我特别找你真正经历了自己的工作,而不是东西,我可以谷歌。我的应用程序将是一个后端服务,从时间序列处理大量的数据。

I am especially looking for what you actually experienced in your own work rather than the things I could google. My application would be a back-end service processing large amounts of data from time series.

我的主要目标平台是Linux操作系统。

My main target platform would be Linux.

编辑: 应用于句话更充分,我感兴趣的是全包(第三方库等)我的问题,而不仅仅是语言。对于库,这可能归结为这个问题:要少得多库如何在那里为单声道比Java的?

仅供参考,因为我已经选择了Java的这个项目,因为它似乎只是更多的战斗戴在可移植性侧,它的存在了在旧系统上一段时间了。我是一个小小的有点难过,因为我很好奇C#和我很想有它做了一些大型项目,但也许下一次。感谢所有的建议。

FYI, I have since chosen Java for this project, because it seemed just more battle-worn on the portability side and it's been around for a while on older systems, too. I'm a tiny little bit sad about it, because I'm very curious about C# and I'd love to have done some large project in it, but maybe next time. Thanks for all the advice.

推荐答案

嗯.... Java是实际上更便于携带。单是不是到处实现,它落后于微软实现显著落后。 Java的SDK似乎停留在更好地同步跨平台(和它的作品在更多的平台)。

Well....Java is actually more portable. Mono isn't implemented everywhere, and it lags behind the Microsoft implementation significantly. The Java SDK seems to stay in better sync across platforms (and it works on more platforms).

我也想说,Java有在所有这些平台的更多的工具可用,虽然有大量可用于.NET在Windows平台上的工具。

I'd also say Java has more tool availability across all those platforms, although there are plenty of tools available for .NET on Windows platforms.

更新于2014年

我仍然坚持这一观点在2014年不过,我有资格这样说,我只是从现在开始要注意一些经过长时间为单声道,而没有真正关心,所以有可能改善的单声道运行(或生态系统),我还没有意识到。 AFAIK,仍有WPF WIF的,WCF,WF,不支持。单可在iOS上运行,但据我所知,Java运行时仍运行在比单远远更多的平台。此外,单正开始看到一些大大改善工具(Xamarin),而微软似乎有更多的跨平台的态度,并愿意与合作伙伴,使他们免费的,而不是竞争性的工作(例如,单会一个pretty的即将到来的OWIN /赫利俄斯ASP.NET景观的重要组成部分)。我猜想,在未来几年中便携性的差异将减少迅速,尤其是在.NET是开源的。

I still hold this opinion in 2014. However, I'll qualify this by saying I'm just now starting to pay some attention to Mono after a long while of not really caring, so there may be improvements in the Mono runtime (or ecosystem) that I haven't been made aware of. AFAIK, there is still no support for WPF, WCF, WF, of WIF. Mono can run on iOS, but to my knowledge, the Java runtime still runs on far more platforms than Mono. Also, Mono is starting to see some much improved tooling (Xamarin), and Microsoft seems to have a much more cross-platform kind of attitude and willingness to work with partners to make them complimentary, rather than competitive (for example, Mono will be a pretty important part of the upcoming OWIN/Helios ASP.NET landscape). I suspect that in the coming years the differences in portability will lessen rapidly, especially after .NET being open-sourced.

这篇关于是.NET /单声道或Java的跨平台开发更好的选择?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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