Hacker News new | ask | show | jobs
by staltz 4348 days ago
Does it compile to Java source code?
2 comments

According to the FAQ page, it compiles to Java bytecode.

Is it Java Compatible?

Yes. The compiler emits Java byte-code.

http://kotlin-web-site.jetbrains.org/docs/reference/faq.html

Does that violate the new ruling in favor of Oracle lately? If not, what if Oracle pursues that in the future, too? If I were Google I'd be like on needles about continuing to support Java on Android, and I'd start looking for a complete replacement (which will take years to come to fruition anyway, so all the more reason to start now).
I can't find any information right now, but I believe it statically compiles to Java bytecode, which means it can easily be dex'ed offline.

It wouldn't make sense to not support Android in a JVM language of 2014, honestly.