Win32的VS净 [英] Win32 vs .Net

查看:187
本文介绍了Win32的VS净的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

比的Win32或周围的行吟诗人的方式.NET更好? 这将是利弊\二者的利弊,在什么情况下,人会比其他的要好。 先后微软发布的.Net作为替代的Win32?

Is .NET better than Win32 or the othe way around? Which would be the pros \ cons of both, in what situations one would be better than the other. Has Microsoft released .Net as a replacement for Win32?

我不是问有关项目所需的量要保持,但约 正在开发的新项目,这将是什么好。 你认为净缺乏重要的东西从Win32的(不使用dllimport的)? 那你认为的Win32将净替换

I am not asking about the amount of projects needed to be maintained, but about new projects being developed, and which would be better for what. Do you think .Net lacks important stuff from win32 (without using dllImport )? And do you think Win32 will be replaced by .Net

我问这个,因为我有一个参数与我的一个朋友, 当我们都同意两者必须深入研究 我的朋友认为,净是不完整的,和我说,它可以管理几乎所有的任务 非驱动程序有关。哪里净失败了呢?

I am asking this, because i am having an argument with a friend of mine, and as we both agree both must be studied in depth My friend argues that .Net is incomplete, and i say that it can manage almost any task non-driver related. Where does .Net fail?

推荐答案

这些都是从我的POV。你的情况可能会有所不同。

These are all from my POV. Your mileage may vary.

.NET的优势:

  • 在跨平台的能力(通过单声道)
  • 好选择框架类通常意味着更少的code。
  • 组件易于集成,无论是语言的组成部分是$ C $光盘。(你喜欢F#,或IronPython的,太棒了!code程序集的任何语言​​是最合适的。)

.NET的劣势:

  • 在.NET意味着不同的事情不同的人。 (例如哪里WPF来到这个等式?)
  • 有时dllimport的和/或PInvoke的是要得到你需要的功能,这意味着你失去了跨平台能力的唯一途径。

WIN32的优点:

  • 如果你知道你在做什么,你可以用最少的依赖关系构建强大的应用程序。
  • 更适合低级别行动比基于.NET的解决方案。

WIN32的缺点:

  • 如果你不知道你在做什么,你可以很容易搬起石头砸自己的脚了更多的应用或系统致命的方式。
  • 您有时不得不写code,你将获得免费使用.NET。

两者都有自己的位置,并可能会继续存在,直到一个真正的替代操作系统(绿?基于Web的操作系统的某种形式?)联机和收益wides $ P $垫验收。

Both have their place, and will probably continue to exist until a true replacement OS (Midori? Some form of web-based OS?) comes online and gains widespread acceptance.

这篇关于Win32的VS净的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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