Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm curious how "Java is actually already way behind Mono". What can the one do that the other struggles with?


To clarify for other readers: I believe he means the JVM, not the Java language.

I haven't been keeping up with Mono's development, but if they have C# 3.0, it blows away Java right there. C# 3.0 is a functional programming gateway drug, but encourages high readability even for non-functional developers. However, that's not a fair comparison, as there are other great JVM languages such as Scala and Clojure.

As for Mono or the CLR vs the JVM, there has been a lot about this written on the net. You can find discussions about garbage collection, module systems, JIT performance, security, library support, etc.

Here's one example: MSIL is more rich than Java Byte Code. This makes writing compilers easier and can lead to better performance via unsigned types, objects on the stack, unsafe pointer use, etc. See: http://stackoverflow.com/questions/95163/differences-between...

I'm not an expert on the CLR by any means, but I do quite a bit of C# development on Windows. I greatly prefer C# to Java, but couldn't really care less about CLR/Mono vs JVM. I'm really more interested in LLVM as a compile target for interop and optimization of open source languages.


The "Debian shootout" suggests the JVM is consistently faster, but more of a memory hog.

http://shootout.alioth.debian.org/u32q/benchmark.php?test=al...


quad core, or not quad core - that is the question:

http://shootout.alioth.debian.org/u32/benchmark.php?test=all...


The answer to the question seems to be "doesn't matter much", and the same for 64-bit. Java is always faster, nearly always fatter.


More of the Java programs have been re-written for quad core, which is partly why those programs faster and fatter.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: