G
Guest
Jean Charbonneau said:Java is multi-platform
Java *is* a platform.
Jean Charbonneau said:Java is multi-platform
Jeremy said:I've seen diagrams that show .NET being compiled to byte code prior to MSIL,
since I don't have this reference handy I'll just assume it was incorrect,
however my understanding of the JIT process used by .NET is quite a bit
different than the Java2 approach, see:
http://www.gamespp.com/csharp/usingNETJITCompiling.html
I'd argue the usefulness of code refactoring, but that is subjective..
IBM's current IDE product fall a bit short on delivering VS.NET style
"intellisense" functionality and code generation, but the context sensitive
help is another huge beneift that comes to mind. Not to mention the ease of
managing solutions, maybe it's just my lack of experience with other IDEs,
perhaps they should be more intuitive.
What is different is that .NET offers the potential to precompile a .NET
application to native code, whereas no well-known Java environment
provides that same option.
Chris Smith said:What is different is that .NET offers the potential to precompile a .NET
application to native code, whereas no well-known Java environment
provides that same option.
Another difference is that Java has its source compiler in the SDK
only, while Microsoft ships the C# compiler with the runtime (.Net
Framework), leaving code signing etc. in the SDK.
Roedy Green said:I get the feeling that is about to change. Then you will be able to
write apps such a spreadsheets that you generate as Java source,
compile and run on the fly.
More likely is that the JRE is supplied with a class synthesizer to
produce the bytecode directly, though at a higher abstraction level.
I'm not clear what this means, but it gives the impression that javaJeremy said:Architecture wise the .NET byte codes gets transformed into a intermediate
language and cached as native code before execution. All most Java2
programming is J2ME specific, but I don't think the Java2 VM Sun provides
for Windows does, one of our Java2 programmers told me that IBM has a
Just-In-Time VM for Win32 that does do this, but it's commerical software
and cost $$$ to license. The result of this is that .NET apps run faster
than Java2 apps on Windows with the default Java2 VM provided by Sun.
The truth is that java
abandoned JIT for mixed-mode some years ago in order to improve performance,
and is therefore faster than .NET which is required by the ECMA standard to
continue to use JIT only.
Roedy said:Java did no such thing. Sun changed THEIR JVM. There are lots of JVMs
out there, and they work in a diverse number of ways.
see http://mindprod.com/jgloss/compiler.html
People keep extrapolating from one implementation of Java onto Java
the language for all time. We need to be careful in vocabulary to
combat that.
Rumours of inherent flaws in Java the language are eagerly seized on
and spread by MS lackeys.
Quite true. I do tend to equate the Sun JVM with java. But since both Sun
and IBM have changed to mixed mode execution, I still feel quite justified
in generalising this to "java".
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.