Mastodon

Compiler

Compiler1 post

@JvmDefault: More Useful Than You Think

@JvmDefault is an annotation + compiler flag in Kotlin to enable using Java 8 default interface methods. It does more than it leads on though! This post explores some other bytecode optimizations you can gain with it as well as some hidden behaviors you should be aware of.