SoylentNews
SoylentNews is people
https://soylentnews.org/

Title    Kotlin 1.8.0 Beta Introduces Experimental Functions
Date    Monday December 05 2022, @05:43AM
Author    janrinok
Topic   
from the dept.
https://soylentnews.org/article.pl?sid=22/12/03/1945210

upstart writes:

Next version adds support for Java 19 and introduces experimental functions for the JVM to recursively copy or delete directory content:

Kotlin 1.8.0, an upgrade to the JetBrains-developed, statically typed language for multiplatform mobile, web, and native development, is available in a beta release. The new version introduces experimental functions for the JVM.

The standard library in Kotlin 1.8.0 adds new experimental functions for java.nio.file.path that can recursively copy or delete directory content. Experimental functionality also has been added to TimeMarks, allowing elapseNow to read from multiple TimeMarks simultaneously. Opt-in is required for both sets of new functionality. Kotlin 1.8.0 also stabilizes extension functions for java.util.Optional.

Announced November 23, Kotlin 1.8.0 also adds capabilities such as Gradle 7.3 compatibility but subtracts support of the old JVM back end, with the -Xuse-old-backend compiler option no longer supported. Instructions on updating to the beta can be found at kotlinlang.org.

Other new features and improvements in the Kotlin 1.8.0 beta [are contained in the linked article].


Original Submission

Links

  1. "upstart" - https://soylentnews.org/~upstart/
  2. "Next version adds support for Java 19 and introduces experimental functions for the JVM to recursively copy or delete directory content" - https://www.infoworld.com/article/3682130/kotlin-180-beta-introduces-experimental-functions.html
  3. "JetBrains-developed, statically typed language for multiplatform mobile, web, and native development" - https://www.infoworld.com/article/3653331/jdk-19-the-new-features-in-java-19.html
  4. "kotlinlang.org" - https://kotlinlang.org/docs/whatsnew-eap.html?_gl=1*1g801j*_ga*MTg1MDMwOTQzOC4xNjY1NTg3MjY0*_ga_9J976DJZ68*MTY2OTkyNjU3MC4yMi4xLjE2Njk5MjgzMTguNTMuMC4w&_ga=2.4282227.1159580065.1669926571-1850309438.1665587264
  5. "Original Submission" - https://soylentnews.org/submit.pl?op=viewsub&subid=57646

© Copyright 2024 - SoylentNews, All Rights Reserved

printed from SoylentNews, Kotlin 1.8.0 Beta Introduces Experimental Functions on 2024-04-24 16:03:21