C# vs. Java

  • Thread starter Thread starter Alexander Kaplunov
  • Start date Start date
A

Alexander Kaplunov

Is there an article that does side by side compareson of major differences
between the two languages? Also, .NET and J2EE?

Thanks,
Alex.
 
http://msdn.microsoft.com/library/en-us/dncenet/html/tchcjavacomparingprogra
mminglanguages.asp
is one article that discusses the similarites and differences between the
two languages.

Cheers,
Christian T. [MSFT]
Visual Studio Update Team

- Please do not reply to this email directly. This email is for newsgroup
purposes only.
=========================================================================
This posting is provided "AS IS" with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified
at http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which
they originated.
=========================================================================

--------------------
 
Thanks. What's what I was looking for.

Is there anything similar to this on .NET vs. J2EE?

Alex.

Christian T. (MSFT) said:
http://msdn.microsoft.com/library/en-us/dncenet/html/tchcjavacomparingprogra
mminglanguages.asp
is one article that discusses the similarites and differences between the
two languages.

Cheers,
Christian T. [MSFT]
Visual Studio Update Team

- Please do not reply to this email directly. This email is for newsgroup
purposes only.
=========================================================================
This posting is provided "AS IS" with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified
at http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which
they originated.
=========================================================================

--------------------
From: "Alexander Kaplunov" <[email protected]>
Subject: C# vs. Java
Date: Wed, 7 Jan 2004 14:05:52 -0800
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: c-24-5-8-219.client.comcast.net 24.5.8.219
Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.
phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.languages.csharp:210181
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

Is there an article that does side by side compareson of major differences
between the two languages? Also, .NET and J2EE?

Thanks,
Alex.
 
Well, one of the major differences is that while they are similar on the
surface they are very different inside.

Java was designed to run on unlimited operating systems and can therefore
not utilize OS specific resources.

Framework was designed to run on specific operating systems (alas
currently only windows, but hopefully this will change soon) and accesses
the underlying system. You can code a Direct3D game under C# and suffer
only ~3% speed decrease compared to C++ and unmanaged Direct3D (according
to one of the authors of managed Direct3D on msdn).

So, while java is designed to run "everywhere" it is rather slow.
Framework runs regular programs at full speed (well, 97% full speed, but
with the full security, safe memory handling and easy coding that java
has).
 
While there is no reason C# should be limited to the .NET Framework, that is
certainly the only platform on which C# currently runs. I've heard of
projects to Ameliorate that issue (MONO?), but I wonder whether Microsoft
would hold a technology patent over the head of any non-Microsoft OS.

Pick Java if you need platform portability or are concerned with placing all
your eggs in the Microsoft basket. Pick C# if you want to go with the
dominate desktop platform for the foreseeable future.

doug

Well, one of the major differences is that while they are similar on the
surface they are very different inside.

Java was designed to run on unlimited operating systems and can therefore
not utilize OS specific resources.

Framework was designed to run on specific operating systems (alas
currently only windows, but hopefully this will change soon) and accesses
the underlying system. You can code a Direct3D game under C# and suffer
only ~3% speed decrease compared to C++ and unmanaged Direct3D (according
to one of the authors of managed Direct3D on msdn).

So, while java is designed to run "everywhere" it is rather slow.
Framework runs regular programs at full speed (well, 97% full speed, but
with the full security, safe memory handling and easy coding that java
has).
 
Back
Top