Kotlin as Java++
summary
Claims that Kotlin is 100% Java-compatible and compiles to the same JVM bytecode while offering distinct features: a JavaScript and a native (LLVM) backend, and just-added first-class Android support from Google I/O. Shows nullable types opt-in to avoid the billion-dollar null error, zero-cost inline functions that avoid allocations at call sites, extension methods that compile to static helpers, and automatic delegation that generates boilerplate methods. Examples are literal bytecode-equivalent snippets and working Android/JS/native toolchains.
AI-written summary · about
chapters (8)
- 0:00Start
- 0:27Why Java?
- 0:47Java is underwhelming
- 2:08Nullability
- 2:36Smart cast
- 3:05Inline functions
- 3:22Extension methods
- 3:50Delegation
related talks
45mHow to combine Swift/Kotlin with C/C++
41mCrossplatform 2019: C ++ as an antagonist in a progressive world
32mGetting Started with the Android NDK
41mJNI, czyli Java i C w jednym projekcie
05mBest practices using JNI
01h 23mCarbon Language: An experimental successor to C++
26mSlinc: A Library for Scala to C Interoperability
31mCo- and Contra-: Adding a Little Variance
