C# From a Java Developer's Perspective
Microsoft's C# has raised eyebrows, interest and debate since its official announcement last year. The prolific Carnage4Life (Dare Obasanjo) has completed a detailed comparison of C# and Java, outlining the things that are identical, similar, nearly the same, or completely different between the two languages. If you're considering learning or applying either one, you might benefit by reading this paper first. There are some other excellent comparisons to be found linked from the Open Directory Project as well. Update: 11/20 03:35 GMT by T : Note: here's a mirror; interested readers who mirror the mirror get good seats in heaven.
There is a good, clean quick overview of C# here. The also do some comparison of C# to Java.
--
FearLinux.com
Unlike what the article says, Java does have a byte keyword.
I couldn't get to the /. link either, but this site works fine:
http://www.kuro5hin.org/story/2001/11/18/152437/24
Although Sun engineers are handling the boards, the direction of Java is mostly influenced by the general public through the Java Community Process (See http://www.jcp.org/). Sun simply acts as an arbiter and caretaker.
If there are any good ideas in C#, there's really no reason it couldn't be adopted by Java. Someone just has to submit a request
How nice of you to engage in FUD. You've heard the term? Fear-Uncertainty-Doubt
.Net platform only runs on a subset of Windows products(i.e. they do not intend to support Windows 95), and there is debatable evidence that it will support other platforms.
.Net passport is absolutely false. No such requirement exists, and none shall ever exist. To make such a claim is to prove you have no understanding of what .Net is.
So allow me to eliminate some of your FUD, right here, right now.
It's true that as of right now the
This notion that it requires Windows Messenger and
I'm glad you're not letting the facts stand int the way of your anti-MS crusade.
.net VM as well as a side project to compile C# code natively. I'd give you the URL, but sourceforge is currently down, so I can't look for it.
:)
MS will be releasing an implementation of the C# virtual machine for FreeBSD, under either their shared source or possibly BSD license (probably with the advertising clause). A Macintosh vm will be available as well.
There already is a gcc side project to compile code to the
Since MS Office has been interpreted code for quite some time now, it's likely it will be migrated to use their new VM. Which means MS Word might run natively on XWindows... (ok, maybe not without wine
For people who haven't yet checked it out, IBM's Eclipse project... IBM has developed a GUI toolkit for Java that uses native widgets.
20 January 2017: the End of an Error.
Both, depending. This holds true for all languages targetting the .NET CLR. The different cases are:
Item number 2 is likely the way things will go, because ISVs will be able to sell a single box of software and it will work on any platform with a compliant
For all supported languages, intermediate bytecode will always be generated (called IL, appropriately enough, for Intermediate Language). Whether you then compile that down to native immediately, do it at installation, or do it at runtime is up to the developer.
I did not know that (and couldn't read the full description as the site is totally /.ed :(
.net webservices race but it is extremelly clear in my mind, J2EE frameworks will deliver with webservices easier than any C# framework will
I design JBoss, the leading J2EE server and at THE HEART of it is the capicity to dynamically deploy new applications on our application server. I mean that is what application servers are ALL ABOUT.
in fact (plug) in JBoss we go the extra mile and allow you to hot-deploy (dynamically add classes) the server classes themselves, which neither IBM nor BEA, nor Oracle do.
So I was curious to know who would win the
Why? well imagine that ANY time you change your class in C# YOU NEED TO REBOOT THE APPLICATION SERVER, yes, boys and girls that is the simple thing that "dynamic class loading" affords you, without it, the VM is tied to whatever you have at startup.
GEEEEZZZ!
The real mnf999 always posts as anonymous coward
The first release of .NET will still be 2-3 releases from full fault tolerance and enterprise level computing. There are alot of complicated processes in enterprise computing and Microsoft's .NET platform as it stands today is far from meeting those needs. Microsoft has yet to define really useful modules and standards for complex processes that span multiple systems which include legacy VMS systems and modern solaris 8 applications.
SOAP is great for simple processes, but it is far from adaquate to handle distributed and transactional processes. Using standards like UDDI is a great step towards easing multi-platform integration. Instead of having different divisions of the same company design different API for publishing resources, it will be easier to have a common way of doing those things. It is not uncommon for financial institutions to store information differently. Take a simple think like address. Some places may store the number in a separate field, while others may replace "jr" with "junior". Anyone who has worked with large mixed environments knows this fact. SOAP is a message centric way of doing things. It is not designed for complex processes. The stuff IBM is building around SOAP is more complete than Microsoft's offering, but then again IBM has been at services longer.
ripped straight from Delphi's object pascal I would guess
:)
Given that Microsoft hired away Borland's chief Delphi (and object pascal) architect, Anders Hejlsberg, and that Anders' name is on the C# language specification, this should come as no surprise.
Naturally, Borland has been attempting to sue Microsoft for its systematic destruction of their company by recruiting all of their top people (mostly on the technical front).
Well given that Beta 2 has been available for closing on a year now, and I've had RC1 on my machine for about a month now... That's how I use C#.
For those who feel like they're downloading the page over a 110-baud modem with an acoustic coupler located in the same room as a Disaster Area concert, here are some other similar comparisons.
Get it here
PS: Mirrors encouraged, so if you manage to grab it and can host it at a site with beefier bandwidth, go ahead.
here.
It'll be off the front page tomorrow, so all these mirrors shouldn't be needed...
[o]_O
The only "standards" body C# has seen is ECMA which seems to be a rubberstamper for whatever MS wants to push.
You know, I'm not entirely sure that his assertion that subdimensions of a multidimension array must have the same dimension (topic 5).
After all, in C, I'd use:
int* array[2];
array[0] = (int*)calloc(sizeof(int), 3);
array[1] = (int*)calloc(sizeof(int), 9);
True, this doesn't use heap-based stack, but to me, the functionality is the same...