.NET vs. JVM

Hi, guys. It's terrible hot at my place now, so hot that i cannot get down to bussunes, so i made up my mind to solve some global problems:))

This topic is for those who are familiar with .NET Framework, the slowest and most unconvinient Microsoft's product ever. The main goal of it is that all .NET apps can be run practically on all Windows platforms, requering only .NET being installed. Apps are made up of MIDL code, not native code. Does it remind you anything? Well, i think this model looks like the one JVM uses but with several differences. The first is that JVM uses bite-code, that's more compact that MIDL code. The next is that .NET compiles MIDL code into native code. Some time ago when there were no .NET apps at all, Java-apps were the slowest because of the fact native code wasn't in use. Today inspite of this fact Java-apps are quicker than .NET ones because of the awful quality Microsoft was always famous for.

So here's my idea. To my mind Java was always missing bite- to native code compiling. .NET uses compiling but MIDL takes too much place and bite-code is ideal for transport purposes. So, why there's still no compiling to native code in JVM? Java programms have always been less popular than Win32 apps but i think the awfull quality of .NET is a good chance for Java to kick .NET's *** and become far more popular due to bite- to native code compiling. What d'you think about it, guys?

i should go now. Will be looking forward to here from you.

[1513 byte] By [Serja] at [2007-11-27 5:34:53]
# 1

> So, why there's still no compiling to native code in JVM?

There is. Sun released the Hotspot JVM in 1999. So for the last eight years the JVM has been compiling your Java programs to machine code.

For performance critical applications, remember to use "java -server" to enable more optimizations in the compiler.

sjasjaa at 2007-7-12 15:03:18 > top of Java-index,Java Essentials,Java Programming...
# 2

Serj,

I'm no microsoft lover myself but fair go mate. .NET does have advantages over java. I mean, swing looks woeful besides .NET's existing forms, which get better again in .NET 3, apparently.

I personally believe that it's far more important to the java community for java to continue to be portable reliable. I want java on my servers, and some fancy .NET smart grids on my desktops.

Let the gamers take C++ in new directions, and leave Java as the ship of state.

It's just horses for courses mate.

corlettka at 2007-7-12 15:03:18 > top of Java-index,Java Essentials,Java Programming...