是dotnet a - 虚拟机 - 就像Java一样? [英] is dotnet a - Virtual Machine - like Java ?

查看:60
本文介绍了是dotnet a - 虚拟机 - 就像Java一样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1 - Microsoft dotnet是虚拟机吗...就像Java Virtual

机器......可以在任何操作系统上运行?


2 - 如果是这样,微软是否放弃像Sun一样的dotnet开发系统

做Java Developmet系统吗?


我正在考虑为下一个项目学习Java而且有人建议

dotnet。


3 - 有人可以给我这个专业版的&每个人的确定?


谢谢 - tmb

1 - Is Microsoft dotnet a Virtual Machine... like the Java Virtual
Machine... that will run on any operating system?

2 - If so, does Microsoft give away the dotnet development system like Sun
does the Java Developmet system?

I was considering learning Java for my next project and someone suggested
dotnet instead.

3 - Can someone give me the pro''s & con''s of each?

thanks - tmb

推荐答案



tmb <到******** @ yahoo.com>在消息中写道

新闻:SD ********************* @ twister.tampabay.rr.c om ...

"tmb" <to********@yahoo.com> wrote in message
news:SD*********************@twister.tampabay.rr.c om...
1 - Microsoft dotnet是虚拟机吗...就像Java Virtual
Machine ...可以在任何操作系统上运行?


编号MS的.NET本身只在Windows平台上运行,尽管有一些运行于的.NET Framework的第三方版本其他操作系统。

2 - 如果是这样,微软是否放弃像Sun开发系统那样的dotnet开发系统?


是的,.NET Framework是免费的。

我正在考虑为我的下一个项目学习Java,有人建议改为使用dotnet。


使用Java,您无法选择开发语言,它必须是Java。

使用.NET,您可以选择多种语言并且他们都可以访问.NET Framework以及类和基本过程

的公共语言运行时(CLR)。
3 - 有人可以给我是职业选手各自的意见?

谢谢 - tmb
1 - Is Microsoft dotnet a Virtual Machine... like the Java Virtual
Machine... that will run on any operating system?
No. MS''s .NET natively runs on only Windows platforms, although there have
been 3rd party versions of the .NET Framework that run on other OS''s.

2 - If so, does Microsoft give away the dotnet development system like Sun
does the Java Developmet system?
Yes, the .NET Framework is free.

I was considering learning Java for my next project and someone suggested
dotnet instead.
With Java, you have no choice of a development language, it must be Java.
With .NET, you have a multitude of languages to choose from and they all
have access to the .NET Framework and the classes and fundamental processes
of its Common Language Runtime (CLR).
3 - Can someone give me the pro''s & con''s of each?

thanks - tmb



> 1 - Microsoft dotnet是虚拟机吗...就像Java Virtual
> 1 - Is Microsoft dotnet a Virtual Machine... like the Java Virtual
机器......它将在任何操作系统上运行?


是的,像java一样的虚拟机可以在任何操作系统中运行,

但微软只能在你可以使用的Windows和掌上电脑上实现它商业应用程序的
,他们还发布了适用于Windows,Unix,Linux和MacOsX的源代码(名称Rotor

项目功能有限),但

仅用于研究目的。


有两个开源项目试图实现.Net平台

用于Linux和其他系统如mono( http://www.go-mono.com/ )和dotGNU

http://www.gnu.org/projects/dotgnu/ )

2 - 如果是这样,微软是否放弃像Sun开发系统那样的dotnet开发系统?


是的。带有编译器的.Net SDK可以从Microsoft网站免费下载

,你可以自由地使用它们来开发你的应用程序,并且有一个

CSharp的开源免费ide,名为sharpdevelop

http://www.icsharpcode.net/ )你可以使用SDK。

我正在考虑为我的下一个项目学习Java而且有人建议使用
dotnet代替。


这取决于你的项目,但两者都是很好的平台,你可以在

大多数项目中使用。

3 - 可以有人给我专业的&每个人的骗局?


在我看来,这是一些赞成和反对意见,对于java来说,这是一个多元平台并且得到很多供应商的支持。


con for java:对于UI来说它仍然很慢并且它的UI看起来或感觉不像

完全像操作系统的本机界面,

java很难调用原生API(与.Net相比),你不能使用指针或

控制你的对象通过引用来处理或者价值只有

单一语言。


pro for .Net:支持多语言,你可以使用指针将其标记为

不安全加速一些内存访问(并非所有.Net语言都可用,它可用于C#和C ++
),你可以通过引用或值传递任何对象,

非常容易从.Net应用程序调用Windows中的任何DLL或COM组件,

UI使用的是Windows API,因此它看起来与本机Windows API相同,

有一个可靠的c alled ntgen你可以使用它在安装过程中将你的

应用程序编译成本机,这将避免启动延迟启动并使你的应用程序几乎像本机应用程序一样运行,如果你

已经有任何C ++应用程序,你可以在混合模式下编译它然后你

可以很容易地在.Net中使用它。


con .Net:只有windows平台,mono和dotgnu你可以使用它们但是

他们不完全支持winform(Windows下的.Net用户界面)


两者都有更多的专业和优惠,

问候,

Emad

" tmb" <到******** @ yahoo.com>在消息中写道

新闻:SD ********************* @ twister.tampabay.rr.c om ... 1 - 是微软dotnet虚拟机......就像Java Virtual
机器......可以在任何操作系统上运行?

2 - 如果是这样,微软是否会放弃像这样的dotnet开发系统Sun开发了Java Developmet系统吗?

我正在考虑为我的下一个项目学习Java,而有人建议改为使用dotnet。

3 - 有人可以给我专业的&各自的意见?

谢谢 - tmb
Machine... that will run on any operating system?
Yes it is virtual machine like java that can run in any operating system,
but Microsoft implmeneted it only on Windows and Pocket PC that you can used
for comercial application, and they release also the source code (name Rotor
Project with limited functionality) for Windows, Unix, Linux and MacOsX but
only for research purpose.

There are two open source projects that trying to implement .Net platform
for Linux and other system like mono (http://www.go-mono.com/) and dotGNU
(http://www.gnu.org/projects/dotgnu/).
2 - If so, does Microsoft give away the dotnet development system like Sun
does the Java Developmet system?
Yeah the .Net SDK with the compiler is free to download from Microsoft site
and you can use them freely to develop your application, and there is an
open source free ide for CSharp called sharpdevelop
(http://www.icsharpcode.net/) that you can use with the SDK.
I was considering learning Java for my next project and someone suggested
dotnet instead.
That depend on your project but both are great platform that you can used in
most projects.
3 - Can someone give me the pro''s & con''s of each?
This some of the pro and con in my opinion,

pro for java: that is multiplatform and supported by a lot of vendors.

con for java: that it is still slow for UI and its UI doesn''t look or feel
exactly like native interface of the operating system, it is difficult in
java to call native API (Compared to .Net), and you can''t use pointer or
control your object to be treated by reference or value and it is only
single language.

pro for .Net: support multilanguage, you can use pointer by mark it as
unsafe to speed some memory access (not available in all .Net language, it
is available for C# and C++), you can pass any object by reference or value,
very easy to call any DLL or COM component in windows from .Net application,
the UI is using windows API so it look the same as the native windows API,
there is a utlity called ntgen that you can use it to compile your
application to native during the installation which will avoid the startup
delay and make your application run nearly as native application, if you
already have any C++ application you can compile it in mixed mode then you
can use it in .Net easily.

con for .Net: Only windows platform, mono and dotgnu you can use them but
they don''t fully support winform (the UI for .Net under windows)

There is much more pro and con for both,
Regards,
Emad
"tmb" <to********@yahoo.com> wrote in message
news:SD*********************@twister.tampabay.rr.c om... 1 - Is Microsoft dotnet a Virtual Machine... like the Java Virtual
Machine... that will run on any operating system?

2 - If so, does Microsoft give away the dotnet development system like Sun
does the Java Developmet system?

I was considering learning Java for my next project and someone suggested
dotnet instead.

3 - Can someone give me the pro''s & con''s of each?

thanks - tmb



Scott M.< s - ** *@nospam.nospam>写道:
Scott M. <s-***@nospam.nospam> wrote:
我正在考虑为我的下一个项目学习Java,而有人建议使用
dotnet。
I was considering learning Java for my next project and someone suggested
dotnet instead.



Java,您无法选择开发语言,它必须是Java。
使用.NET,您可以选择多种语言,并且它们都可以访问.NET Framework和类它的公共语言运行时(CLR)的基本过程。



With Java, you have no choice of a development language, it must be Java.
With .NET, you have a multitude of languages to choose from and they all
have access to the .NET Framework and the classes and fundamental processes
of its Common Language Runtime (CLR).




实际上,有很多语言被定位为

JVM。 http://www.sys-con.com / story /?storyid = 36574& DE = 1 只列出了几个




他们通常不是很好虽然与CLR集成在一起 -

JVM绝对是为Java设计的,而不是用于多种

语言。


-

Jon Skeet - < sk *** @ pobox.com>
http://www.pobox.com/~skeet

如果回复该群组,请不要给我发邮件



Actually, there are loads of languages which have been targetted for
the JVM. http://www.sys-con.com/story/?storyid=36574&DE=1 lists just a
few of them.

They''re not generally as well integrated as with the CLR though - the
JVM was definitely designed for Java rather than for multiple
languages.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too


这篇关于是dotnet a - 虚拟机 - 就像Java一样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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