You really do notice speed issues with Java applications. I've seen it on Windows, Linux, and even on Sun's Solaris. GUI applications especially seem sluggish.
.Net applications on the other hand, seem much faster. It's already been metnioned, but this is probably because Microsoft is optimizing for only one platform--theirs.
But that's not all there is to it, I don't think. Although both platforms use bytecodes instead of native code, .Net optimizes the code when it is run, and remembers the optimizations on a particular machine. IOW, the program gets faster after it has been run on a given machine.
At any rate, with the exception of the extremely slow (and memory hungry) Java GUI apps, in most cases the speed difference is not going to matter. Sure, if you're developing intensive 3D games or whatever, but not in most cases. The improved programmer productivity more than offsets any speed advantage offered by, say, C/C++.
2007-01-19 15:49:53
·
answer #1
·
answered by scott 3
·
1⤊
1⤋
It depends. .NET applications can be extremely slow and cumbersome to use if they were designed or written poorly, just like Java applications. Likewise, well-designed applications will run extremely fast on any modern PC.
However, I would say that in general, .NET programs can run faster with less effort than Java, because Java must be able to run on multiple operating systems, which increases the overhead of translation. .NET does not have this feature, or limitation, depending on how you look at it.
2007-01-19 15:33:46
·
answer #2
·
answered by Rex M 6
·
0⤊
0⤋
.NET & J2EE are platforms provided by Microsoft & Sun Microsystems for building enterprise applications. However, both can also be used for writing small desktop applications as well. Java is a programming language that is used to write programs (J2EE framework).
2016-05-23 23:35:30
·
answer #3
·
answered by Anonymous
·
0⤊
0⤋
Both Java and .NET use a Just-in-time compiler (JIT) to try to make things run faster. It does speed thing up, but it won't be nearly as fast as native code at least for the time being. Microsoft does have more money to throw at improving their JIT.
One of the reasons Java programs seem slow is that they have a crappy graphics library, Swing, which is written in Java itself. .NET apps usually use Windows.Forms, which uses native code, so it's not as slow. Java programs using SWT (which is native code) aren't as slow as Swing apps, at least, although I don't know how it compares to Windows.Forms.
2007-01-19 17:39:08
·
answer #4
·
answered by ey 2
·
0⤊
1⤋
Java using interpreter so that it's slow but in .net it's using JIT (Just In Time) Compiler. you know that compare to compiler, interpreter is slow. Here .net compiling the necessary files on demand not like java. Java interprets all the file and executes. So compare to JVM .net is bit faster.
with love,
Mayu
2007-01-19 16:16:53
·
answer #5
·
answered by mayooresan j 2
·
0⤊
2⤋
Well, you can compile .NET applications to target the native machine language and it will run faster.
I have been working with .NET web applications lately, and we have not noticed any sluggish performance even on sites which receive relatively high traffic.
Thank You.
2007-01-19 19:16:19
·
answer #6
·
answered by Smutty 3
·
0⤊
1⤋
java is always slow i have a jast computer and java slowes me down all the time
2007-01-19 15:32:45
·
answer #7
·
answered by d.m.mota@sbcglobal.net 2
·
0⤊
1⤋