6
Contributors
10
Replies
11
Views
5 Years
Discussion Span
Last Post by Rashakil Fol
Featured Replies
  • 1

    [QUOTE]which is the best programming language between java and .net.[/QUOTE] .NET isn't a language, it's a framework. You probably mean Java and C# as they're very similar in terms of syntax, but it's still impossible to compare languages without a very specific context and well defined points of comparison. Just … Read More

  • [QUOTE=DJSAN10]Java compiles only .java source files[/QUOTE] This is completely wrong. Read More

0

Both languages are having their good and bad..

JAVA would be slower than .NET since there is a middle man (JRE). In other hand, JAVA comes for FREE..

If you can tell me what exactly you are going to do, I will be able to give a more specific answer..

1

which is the best programming language between java and .net.

.NET isn't a language, it's a framework. You probably mean Java and C# as they're very similar in terms of syntax, but it's still impossible to compare languages without a very specific context and well defined points of comparison. Just asking which is better will get you nothing but subjective answers.

JAVA would be slower than .NET since there is a middle man (JRE). In other hand, JAVA comes for FREE..

Both points are incorrect. Java supports JIT compilation just like .NET languages, and the slowness argument stopped being valid around the turn of the millennium when Java started to really mature. Also note that .NET's CLR roughly corresponds to the JRE in terms of being a "middle man".

Like Java, .NET as a development platform including a compiler can be downloaded for free, and you can even get Visual Studio, one of the better IDEs on the market, in one of the free Express versions.

0

Java is slower than .NET in many circumstances because .NET has structs.

More importantly, C# is a better programming language than Java, that's pretty much indisputable.

0

Quote ...

which is the best programming language between java and .net.

.NET isn't a language, it's a framework. You probably mean Java and C# as they're very similar in terms of syntax, but it's still impossible to compare languages without a very specific context and well defined points of comparison. Just asking which is better will get you nothing but subjective answers.

Quote ...

JAVA would be slower than .NET since there is a middle man (JRE). In other hand, JAVA comes for FREE..

Both points are incorrect. Java supports JIT compilation just like .NET languages, and the slowness argument stopped being valid around the turn of the millennium when Java started to really mature. Also note that .NET's CLR roughly corresponds to the JRE in terms of being a "middle man".

Like Java, .NET as a development platform including a compiler can be downloaded for free, and you can even get Visual Studio, one of the better IDEs on the market, in one of the free Express versions.

Completely agree with all that you said. Infact, I was about to say the same.

0

Also , just to add a small point, architecture of .NET is very much similar (rather picked up ;) to Java's architecture. The only difference being in the number of compilers. Java compiles only .java source files , where as in .NET , AFAIK, you can code in around 56 different languages

0

where as in .NET , AFAIK, you can code in around 56 different languages

But let's be realistic. Despite the flexibility of the CLI, how often do you see common production use of anything other than the two heavy hitters: C# and VB.NET?

0

But let's be realistic. Despite the flexibility of the CLI, how often do you see common production use of anything other than the two heavy hitters: C# and VB.NET?

Exactly. Totally agree with you. I am not saying that .NET is better than Java just because it supports 56 languages. In fact, what I want to convey is that it doesn't really make much of a difference.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.