473,729 Members | 2,353 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

is dotnet a - Virtual Machine - like Java ?

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
Jul 21 '05 #1
12 4214

"tmb" <to********@yah oo.com> wrote in message
news:SD******** *************@t wister.tampabay .rr.com...
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

Jul 21 '05 #2
> 1 - Is Microsoft dotnet a Virtual Machine... like the Java Virtual
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********@yah oo.com> wrote in message
news:SD******** *************@t wister.tampabay .rr.com... 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

Jul 21 '05 #3
Scott M. <s-***@nospam.nosp am> wrote:
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).


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.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Jul 21 '05 #4
Hi Emad,

My compliments,

Very nice answer.

Cor
Jul 21 '05 #5
tmb
I want to thank everybody for their contribution to this thread. Very
helpful.

Multi-platform is a big issue for our next project so my guess is we will
choose Java.

Regarding being able to program multiple languages... that is not a biggie
for us... Java seems simple and straight forward... even though I can see
where not having to learn a new language would be considered good by many.

It's hard to stop MS once they start rolling on something... so my guess is
in a few years... when dot net is truly multi-platform... if ever... we
could look at this differently.

thanks again all.

tmb

"tmb" <to********@yah oo.com> wrote in message
news:SD******** *************@t wister.tampabay .rr.com...
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

Jul 21 '05 #6


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

Just to add to the previous responses, here's my opinion.

..Net will never become mainstream on any platforms other than windows. Java
is already mainstream on many platforms

Java will never create as good windows GUI apps as .Net does

..Net will take off but I think MS must be disappointed at how slow the
uptake has been

c# is slightly better than java in terms of language features but they are
so similar you could learn either one and switch to the other.

java has been around longer and has masses of free libraries - currently
more than .net though this might change

As for the thing about the ability of the platforms to support different
languages, I don't really see that it's a big deal. all the "different" .net
languages are just different syntax for expressing the same thing. maybe we
will someday get different programming paradigms for these VMs in which case
there will be a real choice of language to suit the application, but at the
moment choosing the .net language is just like choosing the color of your
car.

As for which to learn, if your customers/employers are microsoft shops they
will soon have to move to .net; if you want to write platform-independent
server code you should definitely go with java.

Andy

thanks - tmb

Jul 21 '05 #7
Elp

"tmb" <to********@yah oo.com> wrote in message
news:Kv******** ***********@twi ster.tampabay.r r.com...
Multi-platform is a big issue for our next project so my guess is we will
choose Java.
Yep, if multi-plateform is in the deal, forget about .NET, at least for now,
and look for something else such as Java.
It's hard to stop MS once they start rolling on something... so my guess is in a few years... when dot net is truly multi-platform... if ever... we
could look at this differently.


I think that you're absolutely right here. Too bad that Microsoft didn't
release (and will probably never release) the .NET Framework for any other
plateform than Windows. It's even more a shame when you can see that they
actually began to port the .NET Framework to other plateform (see their
Rotor project) but, for some reason, stopped everything and focused only on
the Windows version.
Jul 21 '05 #8
> .Net will never become mainstream on any platforms other than windows.
Java
is already mainstream on many platforms
Never say never.
.Net will take off but I think MS must be disappointed at how slow the
uptake has been


"Will take off"....I'd say has taken off. I know of many large corporations
that were using .NET for production applications on Beta 2 of .NET.

Jul 21 '05 #9
Scott M. wrote:
.Net will never become mainstream on any platforms other than windows. Java
is already mainstream on many platforms


Never say never.


mono is the fastest growing dev platform on Linux.

it's c# compiler rivals and exceeds that of Microsoft.
.Net will take off but I think MS must be disappointed at how slow the
uptake has been


"Will take off"....I'd say has taken off. I know of many large
corporations that were using .NET for production applications on Beta 2 of
.NET.


Java has been effectively neutralized. Because of its proprietary nature,
it can never cover as many platforms as c#/.NET/mono

Mono/c# and gtk# are languages of choice right now for Linux developers.

--
w:4

Jul 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

43
8713
by: Minti | last post by:
Hi there everybody, I was just wondering that too many people choose to use language like Java because of its architecture independence, this AI is achieved because Java is as such a platform indeed, the code is converted to a byte code and this byte code can be run on any machine which has
12
401
by: tmb | last post by:
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?
2
3013
by: MR | last post by:
i am looking into how to pass information between two applications. one is a java app (not java.net) and the other is dotNet based v1.1 (c#). both apps will probably run on the same machine. i don't know very much about java or its capabilities. normally i would use queues or even windows messages, but because the other app is java none of this is available, or is it? what tools are available that would enable the IPC? are there any...
7
2561
by: vaividhya | last post by:
We can have virtual destructors.Why we can't have virtual constructors?
7
1998
by: Philippe Poulard | last post by:
Hi, RefleX 0.1.3, a general-purpose XML Virtual Machine, is available here : http://reflex.gforge.inria.fr/ In this release, you'll find tutorials for mapping SQL to arbitrary complex XML structures, and for experimenting the Active Schema Language : express constraints on XML documents that you can't achieve with DTD, W3C XML Schema, neither Relax NG, and define custom semantic data types.
6
1444
by: Elijah Cardon | last post by:
I'm looking at stepping into this millenium's programming by upgrading from VS6 to dotnet. It occurs to me that a person is going to have to install additional windows components beyond xp itself in much the same way that you have to download java's virtual machine every time you wipe your system clean. What components are required? Thanks in advance. EC
6
2329
by: Mark | last post by:
Hi, We are having a debate on DotNet and Java. As a beginner I do not have much experience on DotNet and Java. Are there any major advantage of using DotNet over Java? Thanks for any help I get on this subject. Mark
0
8761
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9142
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8148
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2163
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.