Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Dekompiling (Rheinwerk Konferenz für Kotlin)

Dekompiling (Rheinwerk Konferenz für Kotlin)

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.

Recording: https://www.youtube.com/watch?v=zPQTAEc2kbw

Márton Braun

November 09, 2020

More Decks by Márton Braun

Other Decks in Programming


  1. Related talks • Kotlin: Uncovered  Victoria Gonda, Chicago Roboto

    2017  https://vimeo.com/217569130 • Desugaring Kotlin features and their performance impact  Ionuț Baloșin, VoxxedDays Bucharest 2019  https://www.youtube.com/watch?v=D2a2vK-mfp4 • Kotlin Under the Hood  Chet Haase & Romain Guy, I/O ’19  https://www.youtube.com/watch?v=Ta5wBJsC39s • Kotlin Underer the Hooder  Chet Haase & Romain Guy, KotlinConf 2019  https://www.youtube.com/watch?v=MYQWtNG2so8