Kotlin 1.8.0, an improve to the JetBrains-developed, statically typed language for multiplatform cell, net, and native improvement, is now out there as a manufacturing launch. The brand new model introduces experimental features for recursively copying or deleting listing content material on the JVM.
The usual library in Kotlin 1.8.0 provides new experimental features for java.nio.file.path
that may recursively copy or delete listing content material. Experimental performance additionally has been added to TimeMarks
, permitting elapseNow
to learn from a number of TimeMarks
concurrently. Decide-in is required for each units of latest performance. Kotlin 1.8.0 additionally stabilizes extension features for working with Non-obligatory courses in Java.
Introduced as a manufacturing launch January 11, Kotlin 1.8.0 additionally provides capabilities akin to Gradle 7.3 compatibility however subtracts assist of the outdated JVM again finish, with the -Xuse-old-backend
compiler possibility now not supported. Directions on updating to Kotlin 1.8.0 will be discovered at kotlinlang.org.
Different new options and enhancements within the Kotlin 1.8.0 beta:
- Java 19 bytecode is supported for Kotlin/JVM.
- For Kotlin/JS, the IR (intermediate illustration) compiler has been stabilized and set incremental compilation is for use by default. The outdated Kotlin/JS again finish has been deprecated.
- For Kotlin Multiplatform, an Android supply set structure was added that may be enabled within the Gradle plugin with
kotlin.mpp.androidSourceSetLayoutVersion=2
. Additionally, a brand new naming schema was added forKotlinSourceSet
entities. - For Kotlin Native, assist has been added for the Xcode 14 IDE for Apple improvement, in addition to for the
watchosDeviceArm64
goal. New annotations are supported to enhance Goal-C and Swift language interoperability.
The newest incremental launch of Kotlin, Kotlin 1.7.20, arrived in October.
Copyright © 2023 IDG Communications, Inc.