A beta release of Kotlin 1.8 is available with improvements support for Xcode 14, compatibility with Gradle 7.3, and new experimental functions for JVM.
Kotlin is the open source language originated by JetBrains and promoted by Google as a first class language for Android to replace or supplement Java. It makes Android programming easier by reducing the need for long chunks of boilerplate code that the average programmer just doesn’t get, or perhaps more accurately doesn’t bother understanding at a deep level.
While Kotlin started out having a special relationship with Android it has widened its appeal on several fronts, one being iOS development. The new release adds support for Xcode 14 and for the watchosDeviceArm64 target. xx??Xcode is Apple’s integrated development environment for macOS that can also be used to develop apps for iOS, iPadOS, watchOS, and tvOS.
The beta also includes support for new annotations to improve Objective-C and Swift interoperability. Developers can now use @ObjCName, @HiddenFromObjC, and @ShouldRefineInSwift. The CocoaPods Gradle plugin has also been improved so that registered Kotlin frameworks are now dynamically linked by default.
Kotlin multiplatform developers get a new Android source set layout that can be enabled in the Gradle plugin, and a new naming schema for KotlinSourceSet entities.
**Kotlin isn’t just good for mobile apps. As a JVM langauge it????? In terms of the JVM, the old backend has been removed, and support has been added for Java 19 bytecode. The new experimental extension functions for JVM add the ability to recursively copy or delete directory content. The Kotlin team says that opt-in is required, and you should use them only for evaluation purposes.
Kotlin/JS developers will see a more stable IR compiler, and incremental compilation set to be used by default. There are also additional reporting options for when yarn.lock is updated during the CI process.
**Kotlin 1.8 isn’t as big an update as somethat have preceeded it, but that is to be expected of a langauge that has already evolved to be a really useful
or email your comment to: email@example.com