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 subsequent 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 strategy 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 assist KMP and just lately launched an alpha model of Room with KMP assist. As of in the present day, Annotations, Collections and DataStore are already in secure with KMP assist . We have additionally commonified Lifecycle, ViewModel and Paging libraries to permit integrations with non-Android platforms.
Keynotes and Technical Classes
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 variety of matters:
- A Story of Two Languages by John Pampuch provided 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 beneficial 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 discovered 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 hundreds of thousands, 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 inside Google!
Neighborhood Engagement at KotlinConf
We’re at all times wanting into methods to be actively engaged with the Kotlin neighborhood. Should 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 be taught 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 assets ought to have what it’s essential 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 assist to extra AndroidX libraries. We’re wanting ahead to seeing how you’ll undertake and construct the subsequent technology of apps utilizing KMP.
Because of KotlinConf organizers, audio system, attendees, and your entire Kotlin neighborhood for making this occasion occur and bringing Kotlin fans collectively.