While my colleagues revelled in Kotlin’s new features, I was curious how exactly these features are achieved on the JVM. So I spent some time reading byte code and decompiling Kotlin into Java with sometimes hilarious results 🙂
In this presentation a take some example code in Kotlin, compile it and then decompile it with a Java decompiler and explain the results. Sometimes the decompiler produces really ..interesting.. code and then we take a deep dive into bytecode land to see what is going on – don’t worry I will explain what you need to know!
If you want to know how Kotlin achieves its ‘magic’ named arguments or how package level methods are built on the JVM this is the talk for you 🙂