JetBrains Releases Kotlin Multiplatform
Written by Mike James   
Thursday, 02 November 2023

JetBrains has released the stable version of Kotlin Multiplatform, a technology for sharing code among iOS, Android, desktop, web, server-side, and other platforms.

It is just over a year since the Kotlin Multiplatform mobile libraries were released in preview. As we reported at the time it is an SDK for cross-platform mobile development for iOS and Android. Kotlin Multiplatform can be used to build apps for iOS and Android with native UI from a single shared codebase for networking, data storage, and analytics, as well as the other logic of your Android and iOS apps.

The newly stable framework comes with a fully-stabilized API, simplified project configuration, and better interoperability with Objective-C and Swift, as well as faster build times and other performance improvements.

kotlin multiplatform logo

 

The main benefit of Kotlin Multiplatform is its flexibility. Developers can share only part of their app's logic and write native code if they want to interact with platform-specific APIs or build native UIs. The framework can also be combined with Compose Multiplatform, JetBrains' declarative framework for sharing UIs across multiple platforms. This combination allows developers to share up to 100% of their Kotlin codebase. Compose Multiplatform is currently stable for Android and desktop, experimental for web, and in Alpha for iOS.

JetBrains says developers can Kotlin Multiplatform when starting a new project and implement data, business, and even presentation layers just once. It can also be used to simplify the development of existing projects. Choose a piece of logic (for example, data validation, filtering, or sorting), which changes frequently and usually goes out-of-sync, make it cross-platform, and connect it to your project as a micro-library.

Kotlin Multiplatform is also recommended for library authors. You can create a multiplatform library with common code and its platform-specific implementations for JVM, web, and native platforms. Once published, a multiplatform library can be used as a dependency in other cross-platform projects.

JetBrains says future updates will be better for iOS developers because it will add direct Kotlin-to-Swift interoperability and SwiftPM support. JetBrains plans to add a beta version of Compose Multiplatform for iOS in 2024. JetBrains is also actively developing Kotlin/Wasm to enable modern web development with Kotlin Multiplatform.

kotlin multiplatform logo

 

More Information

Kotlin Multiplatform

Kotlin Home Page

Related Articles

Kotlin Multiplatform Libraries Now In Preview

JetBrains Releases Compose Multiplatform for iOS

Kotlin Re-Enters TIOBE Index Top 20

Kotlin 1.9 Adds K2 Compiler

Why Do Android Devs Convert To Kotlin?

The Programmers Guide To Kotlin - The Basics

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


JetBrains Launches IDE Services
09/04/2024

JetBrains has launched a new product suite for enterprises. JetBrains IDE Services is designed for use by large organizations with the aim of boosting developer productivity at scale.



OpenJS Foundation Launches jQuery Website Checker
23/04/2024

The OpenJS Foundation has launched a new website checker tool that detects if the jQuery used is out of date.


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

<ASIN:1871962706>

<ASIN:1871962552>

Last Updated ( Thursday, 02 November 2023 )