Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2007, 05:40 PM
Member
 
Join Date: Jul 2007
Posts: 40
mathias is on a distinguished road
Java vs. C#, help!
Hi, I am a newbie to programming and thus am uncertain which language to learn ... java has been a hot thing for a while but C# seems to be the 'in' thing with all its usability in the .Net framework and so on ... so can you please help me choose between Java and C#...i would also like to request you to write the positive and negative sides of both while giving suggestions...

Thanks.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-07-2007, 07:44 AM
Member
 
Join Date: Jul 2007
Posts: 40
baltimore is on a distinguished road
C# and Java are just languages, anyways. I don't know if such projects are in the works, but Java running on the CLR and C# running on the JRE are far from unlikely future developments. The more interesting question is the Java versus .NET tool kits, the CLR versus the JRE virtual machines, and the amount of code and libraries you can get to ease your work. Java has a greater set of libraries, which isn't especially strange, considering the age difference between the two.

Both are managed and run in a stack based virtual machine, but that virtual machine is different between them. The JRE is more introverted. It's hard and expensive to go outside the Java environment. Java provide a rather good platform independence, except for the obvious problems of OS integration. The CLR is extrovert - it's easier and less expensive to go outside the CLR, but at the cost of a less robust sandboxing. CLR has larger problems than Java in platform independence, and is well integrated to one OS but not to any others.

There's of course the issue of locking yourself in. Sun has the Java development in their hand, Microsoft have the .NET and CLR developments in their hands. But Microsoft owns and primarily develops one of the platforms. They don't have to, like Sun, try to play good in all environments. Neither do they rely heavily on another company (read IBM) for the primary IDE.

Personally, I consider the C# language to be a retry at the process that created Java without the kludges and mistakes. It's a better designed language. The CLR is somewhat superior to the JRE as well, though that only on one platform. All over, Microsoft has designed a better architecture and a better language. Usage and libraries will come. If these two were my only choices, I'd go with C#, using .NET on top of CLR.

But if they aren't my only choices? Python on it's current VM or Ruby on a better VM. PERL6 over the Parrot engine, or even Python, Ruby or PERL5 on said engine. Jython on JRE or IronPython on CLR might also be good ideas. That way, you can change the VM without too much rewriting when you feel restricted by it. Or JavaScript on Spidermonkey. It's after all my home base.
Greetings.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +3. The time now is 09:34 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org