Posted by Murat Yener – Developer Relations Engineer
Following our current Google I/O announcement recommending Kotlin Multiplatform (KMP) for sharing enterprise logic throughout cellular, 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 neighborhood.
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 totally different platforms.
The Android group has been working to help KMP and lately launched an alpha model of Room with KMP help. As of at the moment, Annotations, Collections and DataStore are already in steady 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 summary of Google’s contributions to the Kotlin ecosystem. As a part of this, Jeffrey delved into how Google leverages Kotlin Multiplatform (KMP) to streamline growth throughout its personal product portfolio. Jeffrey highlighted the advantages of code sharing and effectivity that KMP brings to Google’s tasks, aligning with our current suggestions for Android app growth.
Our technical periods at KotlinConf 2024 span a spread of subjects:
- A Story of Two Languages by John Pampuch provided an enticing 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 offered 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 useful 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 formidable transition.
- Write Your Personal Kotlin Lint Checks! by Tor Norbye, Android Studio Engineering Director, empowered builders to increase Android Lint, a static evaluation software utilized by tens of millions, by creating their very own checks. Regardless of the title, it isn’t really Android particular — it is also used to investigate server Kotlin and Java code within Google!
Group Engagement at KotlinConf
We’re at all times wanting into methods to be actively engaged with the Kotlin neighborhood. For those who 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.
Be taught extra about KMP
As well as, you’ll be able to view up to date docs and a brand new cellular pattern on KMP. These assets ought to have what it’s worthwhile to 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 wanting ahead to seeing how you’ll undertake and construct the following era of apps utilizing KMP.
Because of KotlinConf organizers, audio system, attendees, and the whole Kotlin neighborhood for making this occasion occur and bringing Kotlin fans collectively.