Multiplatform Kotlin

Along with all the advantages of Kotlin Native mentioned in the previous sections, what makes it so special is its ability to share code across platforms. This enables the reuse of code, and there will, therefore, be a single language. This is called a multiplatform Kotlin; we will be discussing it in detail in the next section.

The following diagram illustrates how Kotlin can be used on various platforms:

Get Kotlin Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.