473,322 Members | 1,232 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

C# vs. Java

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

Thanks,
Alex.
Nov 15 '05 #1
4 2135
http://msdn.microsoft.com/library/en...omparingprogra
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" <ka******@hotmail.com>
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: <OY**************@TK2MSFTNGP09.phx.gbl>
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!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP09.
phx.gblXref: 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.


Nov 15 '05 #2
Thanks. What's what I was looking for.

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

Alex.

"Christian T. (MSFT)" <Christian_T.@online.microsoft.com> wrote in message
news:0x**************@cpmsftngxa07.phx.gbl...
http://msdn.microsoft.com/library/en...omparingprogra 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" <ka******@hotmail.com>
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: <OY**************@TK2MSFTNGP09.phx.gbl>
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!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP09. phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.languages.csharp:210181X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

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

Thanks,
Alex.

Nov 15 '05 #3
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).
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #4
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

"Morten Wennevik" <Mo************@hotmail.com> wrote in message
news:opr1f4gjt8hntkfz@localhost...
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).
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #5

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

Similar topics

0
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
1
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
0
by: mailkhurana | last post by:
Hii , I am trying to use a type 2 driver to connect to DB2 0n AIX 5 I have a small java test to class to establish a conneciton with the db .. I am NOT using WAS or any appserver When I try to...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
12
by: Mark Fink | last post by:
I wrote a Jython class that inherits from a Java class and (thats the plan) overrides one method. Everything should stay the same. If I run this nothing happens whereas if I run the Java class it...
0
by: jaywak | last post by:
Just tried running some code on Linux (2.4.21-32.0.1.EL and Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)) and Windows XPSP2 (with Java HotSpot(TM) Client VM (build...
1
by: jaimemartin | last post by:
hello, I want to validate an xml by means of a schema (xsd). To do that first of all I´m using a SchemaFactory. The problem is that if I run the code in Windows all works fine, but If I run it in...
0
oll3i
by: oll3i | last post by:
package library.common; import java.sql.ResultSet; public interface LibraryInterface { public ResultSet getBookByAuthor(String author); public ResultSet getBookByName(String name);
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.