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

What's new in Kotlin for Android : Google I/O 2...

What's new in Kotlin for Android : Google I/O 2023 Recap

This talk highlights the Kotlin updates for Android released in the google I/O 2023.

Brian Odhiambo

June 15, 2023
Tweet

More Decks by Brian Odhiambo

Other Decks in Programming

Transcript

  1. 02 Design Centric Engineer Brian Odhiambo Dishwasher @ Baobab Circle

    Co-organizer @ KotlinKenya Maintaining @ KotlinBits Yeah am all about that UI/UX & Kotlin
  2. Kotlin Symbol Processing Better code generation Kotlin DSL Fluid build

    management What's New 03 K2 Compiler Faster compilations "Phew 😮‍💨 . There's nothing about AI "
  3. Default compiler with Kotlin 2.0 2x faster than the current

    compiler fields static extensions More language features From Kotlin 1.9.x K2 Beta with Compose & KSP Integrated in Android Studio 2024 😒😒😒 Kotlin 2.0 compiler
  4. Try It Out Give feedback // inside build.gradle.kts kotlin {

    sourceSets.all { languageSettings{ languageVersion = "2.0" } } }
  5. Default option from Giraffe Precise code hinting syntax errors during

    editing Available documentation Kotlin DSL for Gradle Builds
  6. Default option from Giraffe Precise code hinting syntax errors during

    editing Available documentation Optional version catalogs Kotlin DSL for Gradle Builds
  7. Kotlin Code Java Stubs Java Annotation Processors Kotlin Symbol Processing

    Kotlin Code Kotlin Processors Kotlin Annotation Processing Tool (KAPT) Kotlin Symbol Processing (KSP)
  8. 2X faster than KAPT Benefits from Kotlin language features Mutliplatform

    ready 👌👌👌 Incremental migration Caveat You can only see performance boost if you're full KSP Kotlin Symbol Processing
  9. Kotlin Foundation 😎 Protect, promote and advance the development of

    the Kotlin programming language kotlinfoundation.org