Posted by Murat Yener – Developer Relations Engineer
Following our latest Google I/O announcement recommending Kotlin Multiplatform (KMP) for sharing enterprise logic throughout cell, internet, server, and desktop platforms, and our transfer to make use of KMP in Google Workspace, KotlinConf 2024 was the following second to share the highlights and join with the Kotlin group.
Kotlin Multiplatform, developed by JetBrains, permits builders to construct cross-platform apps by compiling Kotlin code into platform-native binaries whereas leveraging the complete capabilities of a contemporary, memory-managed language. This method has been a long-term funding for the Google Workspace group, enabling them to share the enterprise logic between completely different platforms.
The Android group has been working to help KMP and not too long ago launched an alpha model of Room with KMP help. As of in the present day, Annotations, Collections and DataStore are already in secure with KMP help . We have additionally commonified Lifecycle, ViewModel and Paging libraries to permit integrations with non-Android platforms.
Keynotes and Technical Periods
The convention kicked off with a keynote, as a part of which, Google’s Jeffrey van Gogh gave an outline of Google’s contributions to the Kotlin ecosystem. As a part of this, Jeffrey delved into how Google leverages Kotlin Multiplatform (KMP) to streamline improvement throughout its personal product portfolio. Jeffrey highlighted the advantages of code sharing and effectivity that KMP brings to Google’s tasks, aligning with our latest suggestions for Android app improvement.
Our technical classes at KotlinConf 2024 span a spread of matters:
- A Story of Two Languages by John Pampuch supplied an attractive comparability of Java and Kotlin’s evolution, highlighting their symbiotic relationship and mutual affect.
- The Android Jetpack group, represented by Elif Bilgin, Yigit Boyar, and Daniel Santiago Rivera, unveiled Enabling Kotlin Multiplatform Success: The Android Jetpack Journey. They supplied insights into the present state of KMP in Jetpack, shared updates on KMP-enabled Jetpack libraries, and explored the migration means of a well-established Jetpack library to KMP.
- Going Quick with Kotlin by Andrei Shikov shared helpful insights gained from optimizing Compose for Android. Andrei highlighted attention-grabbing efficiency nuances in Kotlin and the guardrails the Compose group established to make sure optimum efficiency.
- Kotlin Multiplatform in Google Workspace by Jason Parachoniak mentioned Google Workspace’s ongoing migration from a Java-oriented multiplatform basis to Kotlin Multiplatform, aligning with Google’s broader adoption of KMP. Jason shared classes realized and the present state of this bold transition.
- Write Your Personal Kotlin Lint Checks! by Tor Norbye, Android Studio Engineering Director, empowered builders to increase Android Lint, a static evaluation device utilized by thousands and thousands, by creating their very own checks. Regardless of the identify, it is not really Android particular — it is also used to investigate server Kotlin and Java code inside Google!
Neighborhood Engagement at KotlinConf
We’re all the time trying into methods to be actively engaged with the Kotlin group. In case you attended KotlinConf, we hope you bought an opportunity to take a look at our sales space, with alternatives to talk with our engineers, get your questions answered, and study extra about how one can leverage Kotlin and KMP.
Study extra about KMP
As well as, you’ll be able to view up to date docs and a brand new cell pattern on KMP. These sources ought to have what that you must begin studying KMP and you probably have any suggestions or come throughout any points, please share them by means of this hyperlink.
Wanting Forward
We’re enthusiastic about the way forward for Kotlin and are planning so as to add KMP help to extra AndroidX libraries. We’re trying ahead to seeing how you’ll undertake and construct the following technology of apps utilizing KMP.
Because of KotlinConf organizers, audio system, attendees, and the complete Kotlin group for making this occasion occur and bringing Kotlin fanatics collectively.