When we compile Kotlin source code, is it converted to Kotlin bytecode or Java bytecode only?
Kotlin bytecodes and Java bytecodes use the same bytecode instruction set; namely JVM bytecodes as specified by the JVM specification.
However, there may be differences in the way that JVM bytecodes are used for the two languages. These may cause affect the output of a decompiler.
The other complicating factor is that on Android the JVM bytecodes will be converted to Android Davlik bytecodes or ART (native) code before execution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With