Ready-to-Serve Java Solutions

Just add hot water for a steaming cup of Java...

Blog

Java vs C#

Posted by Divyansh Prakash on February 23, 2011 at 1:01 PM

Whenever I read an article about the .Net framework, I invariably stumble upon a comparison with Java. About an hour ago, I finally decided to write an article on the topic.


First of all, I would like to state a very important fact: Java is platform-independent. Using Java, you can create applications for Windows PCs, Apple Macs, Linux and Unix-based systems, cell-phones and other embedded systems, and even software required to run Blu-Ray discs. On the contrary, C# is a language for the Windows-platform ONLY, and is a much better choice for developers who want to stick to development on the Windows platform, which is not a bad thing considering the fact that it makes 85% of the total pc user-base.


All in all, it comes down to what platforms you are looking forward to develop for. If you want to develop software for Windows using native APIs and the insanely-easy-to-use Windows-Form approach to creating GUIs, use C#. On the other hand, if you want to develeop platform-independent software, or browser-compatible applications(Java Applets), you got it, use Java.


Moreover, there are licensing issues associated with using C#, it being proprietary software. On the other hand, Java is mostly free to use and distribute, most of it being open-source.


I would like to end this post on a funny note, with a video that i discovered only a few minutes ago. I hope you enjoyed reading this as much i liked writing it. Take care.


Watch Video:?

Dylin Prestly: Microsoft .NET vs Java Trailer
Uploaded by Dylin_Prestly. - Videos of the latest science discoveries and tech.

-Divyansh


Categories: None

Post a Comment

Oops!

Oops, you forgot something.

Oops!

The words you entered did not match the given text. Please try again.

Already a member? Sign In

2 Comments

Reply Parikshit
7:24 AM on February 24, 2011 
you forgot to mention the most important fact about java: it is SLOW. programs developed on java are almost always much slower than programs written in other languages. there is a marked difference in performance between programs written in java and c# (i won't even mention c++ :D).
other than this slight overlook, you've written a very balanced and helpful article. congrats!
Reply Divyansh Prakash
1:22 PM on February 24, 2011 
Parikshit says...
you forgot to mention the most important fact about java: it is SLOW. programs developed on java are almost always much slower than programs written in other languages. there is a marked difference in performance between programs written in java and c# (i won't even mention c++ :D).
other than this slight overlook, you've written a very balanced and helpful article. congrats!



True, my friend, true. But I would like to put forward a thought:
Java may be a relatively SLOW language for desktop-software creation, but it is the FASTEST language available for cross-platform development.
Symbian-powered Nokia phones? Java..
Android-powered different phones? Java.
The best web servers around? Java-based.
The ONLY language for development of Blu-Ray technology? Java.
Most of the set-top-box softwares are based in? Java.

Conclusion:

Java is the FASTEST cross-platform development language as of now. C# might be better for development on the Windows platform, but Java is unbeatable if you are into web-based, or embedded-systems programming. And it is not that bad for desktop-environments, too!

Thanks for your feedback! I would look forward to more input from you!