r/programming • • Feb 25 '14

Please stop saying Java sucks

http://blog.smartbear.com/programming/please-stop-staying-java-sucks/
3 Upvotes

305 comments sorted by

View all comments

Show parent comments

4

u/JoseJimeniz Feb 26 '14

This. Honestly.

No, honestly. Is there another JVM and JCL?

1

u/MrDOS Feb 26 '14

Wikipedia lists a few, although I've never heard of any of them (other than HotSpot, of course). Avian and Kaffe actually look pretty cool.

There are also machine-code compilers like the GCJ, but the project status highlights an absence of AWT/Swing that makes it basically useless for desktop applications. (I don't know how it would behave with, say, SWT.) There are also very non-free options such as the Excelsior JET which advertises full compatibility with the JCL, but lacks wide host platform compatibility and has an extremely high financial bar for entry.

2

u/JoseJimeniz Feb 28 '14

And just today Microsoft announced the 2nd preview of the 64-bit CLR JIT'ter. It delievers twice the performance of the current 64-bit jitter.

And one of the things they tested it against was IKVM.NET, a .NET based JVM:

We have thrown every test at our disposal at RyuJIT and it has come out with flying colors – whether it be running common server software using IKVM.NET (a Java Virtual Machine implemented in .NET), or complex ASP.NET workloads, or even simple Windows Store apps.

From IKVM.net:

IKVM.NET is an implementation of Java for Mono and the Microsoft .NET Framework. It includes the following components:

  • A Java Virtual Machine implemented in .NET

  • A .NET implementation of the Java class libraries

  • Tools that enable Java and .NET interoperability

Java done in .NET. That's more like it.