Kotlin 1.6.0 the latest release of JetBrains trendy speech for JVM web and mobile outgrowth has been released with a new remembrance director for indigenous outgrowth quiet in an experimental phase.
The remembrance director for Kotlin/Native which compiles code to indigenous binaries brings the speech closer to providing a congruous outgrowth experience. The remembrance director lifts existing restrictions on object sharing between threads and offers leak-free concurrent programming primitives that are safe and do not demand particular treatment or explanations.
The remembrance director headlines a long list of capabilities in Kotlin 1.6.0 which was described as primarily a stabilization release and published on November 16. Features previously billed as experimental in Kotlin now are useful by lapse in Kotlin 1.6.0. Installation instructions for the release can be establish at blog.jetbrains.com. Users of the JetBrains IntelliJ Idea or Android Studio IDEs can update automatically.
Other components in Kotlin 1.6.0 include:
whenstatements exhibit a compiler caution if a when statement is not exhaustive. This component now in a firm state behind being previewed in Kotlin 1.5.30 makes code safer without the need for developers to present their own offices.
attachofficeal types as super interfaces. This had been missing from the Kotlin coroutines design. Also the conrendering from customary to attaching officeal types is stabilized. Developers now can pass any countenance of a suitable customary officeal type where attaching is expected as a parameter. The compiler will automatically accomplish the conrendering. This component fixes an inconsistency between customary and attaching offices in Kotlin.
typeofhas been stabilized and can be used on any Kotlin platform. It had been useful on the JVM in an experimental form.
@kotlin.explanation.Repeatablenow accepts any retention and makes the explanation repeatable in both Kotlin and Java.