Compiling to Java as a target language

11 points by abhin4v


mcherm

I didn't see any section that clearly calls out what the advantages are to compiling to Java rather than compiling for the JVM. Obviously, Java is a much higher level language than JVM bytecode. Is that it?

NoahTheDuke

An interesting approach compared to Clojure, which compiles directly to JVM bytecode. This can make it a little complicated to debug (you have to either use a decompiler or learn to read the bytecode), but it bypasses a lot of the issues with generating correct java code (which is a dense language).