473,385 Members | 1,942 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,385 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 2138
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.