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

Does it compile to Java source code?



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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: