On Sep 1, 3:30 pm, Kevin Wright <[email protected]> wrote:
> Give the existence of mono, it might be argued that all of these benefits
> are available on the .NET VM.
> Although last I heard, JVM was still outperforming in benchmarks.

Yup, Mono has no trouble running Java code thanks to iKVM.

cas...@workstation:~$ javac hello.java
cas...@workstation:~$ java hello
Hello World!
cas...@workstation:~$ ikvm hello
Hello World!

It has the added benefits that you can inter-operate with .NET
libraries, or compile AOT and target politically- or resource-
constrained devices:

cas...@workstation:~$ ikvmc hello.class
Note IKVMC0001: found main method in class "hello"
Note IKVMC0002: output file is "hello.exe"
cas...@workstation:~$ mono hello.exe
Hello World!

They are taking huge advantage of this for the MonoTouch and MonoDroid
stacks. Garbage collector and JIT still inferior to the JVM, but has
other advantages such as SIMD support, generics code sharing (all
instantiations for reference types share the same native code) etc.

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to