Paul Krill
Editor at Large

Kotlin roadmap points to compiler, mobile improvements

news
Nov 16, 20212 mins

Android and iOS code sharing technology, namespace prototype, code coverage plug-in, and documentation generation tool also in the works.

Abstract Java code
Credit: Monsitj / Getty Images

The roadmap for Kotlin, JetBrains’ programming language for JVM, JavaScript, and Android development, has been updated to reflect the project’s advancements in areas such as the compiler and mobile functionality.

Plans for Kotlin 1.7.0 and beyond were detailed in a bulletin published by JetBrains on November 10. Kotlin 1.5.31 is the latest version available, as of November 15.

JetBrains said the focus of the compiler work was on bringing the K2 compiler front end to an alpha state. K2 promises to be a speedier compiler for the language, with the front end responsible for code analysis and transformation to an intermediate representation.

The planned K2 alpha release will preview a new plug-in infrastructure that will lay the groundwork for the development of more tools. Kotlin’s developers are also investing in support for non-JVM back ends, which would allow multiplatform projects to be built with K2.

Also in the Kotlin roadmap:

  • KMM (Kotlin Multiplatform Mobile), a technology for sharing code between platforms including iOS and Android, moves to a beta release in Spring 2022. Issues are being fixed impacting code highlighting, navigation and completion, debugging, and build tool stability. Concurrency also is being improved.
  • A prototype of a new namespace concept is planned, providing an ephemeral object without an instance that every class automatically possesses. Namespace members are compiled down to static members of the JVM. The plan is intended to improve interoperability with Java static methods and enable extensions of Java static methods.
  • Kover, a Gradle plug-in to measure code coverage, has been introduced.
  • Kotlin Playground, a web-based tool for learning, prototyping, and sharing knowledge, is being made more mobile-friendly.
  • Work is proceeding on Dokka, a documentation generation tool, which is being promoted to beta in the planned 1.6.0 release of Kotlin.
  • Plans are afoot to improve internal infrastructure to improve Kotlin IDE plug-in release adoption.
Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author