Part VI Interoperation and Multiplatform Applications
Throughout the book, you have been using Kotlin/JVM to write Kotlin code that runs in the Java Virtual Machine. As we mentioned in the introduction of this book, Kotlin can be used outside of the JVM. Kotlin/JS lets you write Kotlin code for the web, and Kotlin/Native lets your Kotlin code run natively on platforms like iOS, macOS, Windows, Linux, and more.
In this part of the book, we will discuss how Kotlin’s interoperability features work across its various targets. Initially, you will learn about Kotlin’s Java interoperability features, which can help you introduce Kotlin into an existing codebase. Then you will write a multiplatform application that targets the JVM, macOS ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access