Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   C# Vs Java (https://www.warriorforum.com/programming/627399-c-vs-java.html)

RazO 29th June 2012 01:11 PM

C# Vs Java
 
Whats better?

RazO 29th June 2012 01:12 PM

Re: C# Vs Java
 
For making desktop apps and server side apps btw. Thank you!

wayfarer 29th June 2012 02:03 PM

Re: C# Vs Java
 
It depends on what your goal is. C# generally only works on Windows under .NET, while Java is cross platform. If you're committed to only developing for Windows, C# is the way to go. Otherwise, Java has its own benefits, and can be used for either desktop, server apps, or embedded browser apps, though browser apps are less popular these days. Also, Java is what is used for making most Android apps, which is a huge benefit.

It just depends on what you want to do.

RichBeck 29th June 2012 04:28 PM

Re: C# Vs Java
 
Quote:

Originally Posted by RazO (Post 6520888)
Whats better?

It depends..... :D

Java programming language is, in theory, cross platform... But, Java is not standardized... Oracle is in complete control...

The C# programming language is an ECMA standard... Plus, C# compiled with Mono runs on many operating sytems....... From their web site....
Quote:

Cross Platform - Mono is built to be cross platform. Mono runs on Linux, Microsoft Windows, Mac OS X, BSD, and Sun Solaris, Nintendo Wii, Sony PlayStation 3, Apple iPhone. It also runs on x86, x86-64, IA64, PowerPC, SPARC (32), ARM, Alpha, s390, s390x (32 and 64 bits) and more. Developing your application with Mono allows you to run on nearly any computer in existance (details).
They both have VERY similar capabilities.... It comes down to personal preference..... I prefer C#....... :cool:

God Bless,

Rich Beck

wayfarer 30th June 2012 07:34 AM

Re: C# Vs Java
 
Quote:

Originally Posted by RichBeck (Post 6521815)
... But, Java is not standardized... Oracle is in complete control...

True, that is definitely one of the downsides. Although, Google has proven you can basically copy the language and port it onto another platform (Android, with the Dalvik Virtual Machine, which Oracle has no control over). And they did so without losing a lawsuit, so far. So although there's not an ECMA standard, there's basically a standard, created by Sun, and part of it is even open source.

rising_sun 30th June 2012 12:16 PM

Re: C# Vs Java
 
C#,though I am a java fan.I have taken the decision after working with both java & C#.For designing a web page C# is too fast but for the web service java is secured.With .net frame work C# is pretty good.

John Ayling 30th June 2012 07:40 PM

Re: C# Vs Java
 
I would recommend C# for it's speed of development - don't worry about cross platform issues, as specialization is key in this game. No point trying to accomodate everyone.

purpleviolet 1st July 2012 08:52 AM

Re: C# Vs Java
 
I would recommend C# . I agree with all the above warriors and also recommend this so that with just additional plugins you can develop mobile applications and deploy on windows mobile.

burton247 2nd July 2012 02:23 PM

Re: C# Vs Java
 
Unis seem to always teach Java, and to be honest it makes sense. It's cross platform (Windows, OSx, Linux, BSD) and it's multi-purpose (desktop, server, mobile) and it has a load of libraries that will do most of the ground work for you.

However, I don't think it is that widely used server side now, I think the UIs it creates aren't that nice and the fact that there is an Oracle, Sun and "Open Source" virutal machine is just confusing. (I had issues installing the ADT for Eclipse because I had the open version and not Suns, it shouldn't have mattered but it did for some reason). I use Java for Android development but that's about it.

I like C#, as people have said it can run on different platforms with the use of mono. It will run natively on Windows anyway and the popular Linux distros are starting to ship with mono by default so that's a bonus.

Neither is "better" though. They are both good languages and they both do more or less the same thing (C# probably slightly more). If you are looking to learn one it doesn't really matter which. Once you know one switching to the other later down the line will be simple as they are very similar.

James Andy 3rd July 2012 02:25 AM

Re: C# Vs Java
 
I think Java because it is a programming language which specifically designed for use in the distributed atmosphere of the Internet and it allows you to play online games, chat with people around the world and view images in 3D.

wayfarer 3rd July 2012 07:11 AM

Re: C# Vs Java
 
Quote:

Originally Posted by James Andy (Post 6539420)
I think Java because it is a programming language which specifically designed for use in the distributed atmosphere of the Internet

Yes, it was designed for that, but it ultimately failed in its designed purpose. Other technologies (like JavaScript) turned out to be a lot easier to use for the (client side) internet. Also, Flash displaced a huge portion of Java applets, because it is fast enough for the web, and its underlying programming language, Actionscript, is easier to use than Java.

Java is not a complete loss, however. It has found its way on desktop, servers, and to a certain extent, mobile, depending on how you view things.

annife polak 3rd July 2012 10:15 AM

Re: C# Vs Java
 
I would recomment c sharp for desktop apps, otherwise use Java.

tarunsarien5 3rd July 2012 02:06 PM

Re: C# Vs Java
 
According to me Java is the best as compare C#.because C# generally use on Windows under .NET, while Java is cross platform.

play4aces 4th July 2012 12:48 PM

Re: C# Vs Java
 
We had to make this choice a year ago as the basis for the products we are developing now.
We went for C# and Window Presentation Foundation. No regrets there. Very powerful this XAML. If you like this with Java you would have to use eFace.

rising_sun 8th July 2012 09:42 AM

Re: C# Vs Java
 
Obviously C#,because it is too fast then java,on the other hand it is good at web service and application.

floramerlin 9th July 2012 06:22 AM

Re: C# Vs Java
 
sure java programming is better than C#

wayfarer 9th July 2012 06:29 AM

Re: C# Vs Java
 
Quote:

Originally Posted by rising_sun (Post 6569839)
Obviously C#,because it is too fast then java,on the other hand it is good at web service and application.

Actually, this is absurd and incorrect. I don't advocate either language specifically, but C# is definitely not faster than Java. For a Windows UI under .NET it could be faster than Java, but on everything else, Java beats it hands down when measuring with benchmarks. Do some research before you just spout half-truths.

wayfarer 10th July 2012 11:02 AM

Re: C# Vs Java
 
Quote:

Originally Posted by whiteboy (Post 6582455)
In my opinion C# is better than Java because is faster and has a better IDE. C# has a brighter future!

Show me one benchmark that proves that C# is faster than Java. Just one. I bet you can't find any. I can show you several that show Java is faster. Whether this proves anything or not I don't know. Whether C# has a "brighter future" also could be a matter of considerable debate. It wouldn't be hard to make the case that the Android platform has a bigger future than Windows does, though who knows, really? Some people think Android is the "next Windows", and they could be right!

diklon 12th July 2012 06:32 AM

Re: C# Vs Java
 
Both are programming languages but java is not support multiple platforms c# is multiple platforms support languages. I prefer c#

jaasmit 12th July 2012 09:17 AM

Re: C# Vs Java
 
I think java would be better but it totally depends on you which one you like most and with which one you feel comfortable.

TechEx 12th July 2012 11:15 AM

Re: C# Vs Java
 
i think Java better.

ace0195 12th July 2012 02:26 PM

Re: C# Vs Java
 
If your developing only for Windows I recommend C#, otherwise Java of course.

Redwyn88 12th July 2012 04:33 PM

Re: C# Vs Java
 
Wow, that's a broad question. As far as the languages themselves go they're pretty similar in functionality and feel. Will agree with most others on the thread, though I personally prefer C# / .NET by a long shot you're best off going with Java if cross-platform desktop apps is a primary goal. For web based stuff I'd probably go C# / .NET (between these 2 options anyways), the ASP.NET MVC framework is nice.

thelearningman 13th July 2012 11:01 AM

Re: C# Vs Java
 
It depends upon how they're used. For fat clients, .NET/C# is the way to go provided that you are only interested in working on the Window's OS. For web and enterprise applications, Java is the better approach. In fact, Java is used on many of today's systems from dvd players, to the Android OS and to many back end systems.

pipercraig 18th October 2012 06:21 AM

Re: C# Vs Java
 
JAVA is always better than c# for desktop application.JAVA is more secure and user freindly language ever.

sjaguar13 18th October 2012 11:40 AM

Re: C# Vs Java
 
Quote:

Originally Posted by annife polak (Post 6541597)
I would recomment c sharp for desktop apps, otherwise use Java.

I agree with this.

Girin Jackson 19th October 2012 05:38 AM

Re: C# Vs Java
 
Both language have it's own ability, But i prefer java more than C#.

dexlink 21st October 2012 05:59 AM

Re: C# Vs Java
 
Quote:

Originally Posted by ace0195 (Post 6598068)
If your developing only for Windows I recommend C#, otherwise Java of course.

Yes... I do agree with you but for system performance java is a little bit ahead.

dexlink 21st October 2012 06:00 AM

Re: C# Vs Java
 
Quote:

Originally Posted by blenyo (Post 7208268)
C# is better

It's better in case of web based programming.

dexlink 21st October 2012 06:02 AM

Re: C# Vs Java
 
Quote:

Originally Posted by Girin Jackson (Post 7196432)
Both language have it's own ability, But i prefer java more than C#.

yes... you are right and java has the special ability of garbage collection.

gowthamgutha 29th October 2012 12:23 PM

Re: C# Vs Java
 
There is very much to talk about the differences between C# and Java. Choosing it depends upon your need. While both of them are OOP languages, there are lot of variations to talk about. Since Java is first introduced, now under the control of Oracle Corporation, getting good and rapid development for developing any kind of applications with ease and less complexity and more security, Java is obviously the friendly language to the developers and also worthy language to the end-users.


All times are GMT -6. The time now is 12:21 PM.