Mobile Unplugged 2019
2019-11-06 • Cluj-Napoca, Romania • Event page
Resources
Talk details
Dekompiling
Kotlin has many features that are leaps and bounds ahead of Java. However, its primary target platform being the JVM, all of these features still need to compile to the same bytecode as Java does. This is a look at how a variety of interesting Kotlin features are compiled to bytecode, and what their Java equivalents would be. Even though Kotlin abstracts away much of the virtual machine and the original feature set of Java with its own features, it’s still important to know what your Kotlin code compiles to. Not only can this knowledge give you the power to optimize your code, but it will also help you avoid subtle bugs that would otherwise be near impossible to track down.
Resources:
- Kotlin: Uncovered
- Victoria Gonda, Chicago Roboto 2017
- Desugaring Kotlin features and their performance impact
- Ionuț Baloșin, VoxxedDays Bucharest 2019
- Kotlin Under the Hood
- Chet Haase & Romain Guy, I/O ’19
- Kotlin Underer the Hooder
- Chet Haase & Romain Guy, KotlinConf 2019
- Execution in the Kingdom of Nouns
- Kotlin 1.3 changes to functional types
- jadx, an alternative decompiler that can handle lambdas nicer