Dekompiling
summary
Kotlin source is compiled to JVM bytecode then decompiled back to Java so concrete surprises appear: the IDE’s Show Kotlin Bytecode panel and a decompiler (often jdx third‑party decompiler) reveal injected runtime null checks, receivers turned into static parameters, Function0/Function1 interfaces for lambdas, an ObjectRef wrapper used to mutate captured locals, singleton optimization for stateless lambdas, StringBuilder allocations for each concat, and how inline and pre‑sized buildString remove allocations; Function22 historical limit and JVM parameter limit of 255 are also shown.
AI-written summary · about
chapters (7)
- 0:00Start
- 2:42Decompile
- 8:19Runtime Null Check
- 11:48Class Hierarchy
- 13:42String Concatenation
- 16:09Decompile the Repeat Function
- 25:52Inline Keyword








