A Preview to Newly Launched Kotlin 1.3.60 Updates

Kotlin 1.3.60

Since the emergence of Kotlin, in the current scenario, both Java and Kotlin go hand in hand when it comes to android app development. We are happy to announce that Kotlin version 1.3.60 just released. It contains several new updates and a few developments that include tooling improvements to debug. Also, this release adds support for more Kotlin/Native platforms and compilation targets along with the Kotlin/Multi-Platform Project IDE experience.

Ever since Android declared Kotlin as its first-class language, it has been witnessed an enormous amount of growth and adoption rates by the android app developers. As per the reports from the State of Kotlin 2019 survey, 62% of developers build android apps on Kotlin, and 41% of developers employ Kotlin to work on web back-end projects.

A glimpse at what the new update includes

Enhanced scratch files and worksheets

Scratch files for IntelliJ IDEA are redesigned and upgraded to allow you to see the results, which are shown in a different window.

Experiment with your code and see the outcomes in a little scratch document. The scratch file exists as a temporary code outside of the task. However, the bit exists as a wholly functional code that you can run and debug.

On the other hand, for situations where you need to test inside the task, use worksheets. Worksheets are new and work just like scratch sheets. The principle distinction is that it is a piece of the project, so you can play with code and perceive how it functions within your project.

A while later, select run and execute your code. Study about scratch files and worksheets more in the documentation.

Java-to-Kotlin Converter

In particular, Java developers have opted for Kotlin for both work and individual/side projects, either as a substitution or an additional language. JetBrains revealed: “Almost 92% of Kotlin developers were making use of Java before they started using Kotlin.”

java to kotlin converter

Presently, the new default converter starts converting to Kotlin considerably simpler. 1.3.60 fixes some of the earlier conversion issues, with corner-case issues.

Function breakpoints

When utilizing the debugger, users can insert function breakpoints within their code. At the time of setting a function breakpoint, the debugger will stop the execution of entering or exiting the corresponding function.

Kotlin/JS updates

  • With Kotlin Gradle build scripts, the Kotlin team is striving to enhance the user experience.
  • Now, the experimentally incremental compilation for individual modules will be backed by the Kotlin-eclipse plugin.
  • The Kotlin/Native compiler has now got the compatibility with the most advanced tooling bits, such as XCode 11 and LLVM 8.0. Additionally, it joins new platforms/targets like watchOS, tvOS, and Android (native).
  • It will provide support for suspending callable references.
  • The kotlinx.cli project is rewritten, and it is covered in this release of the Kotlin/Native compiler.
  • With this release, the runtime performance of Kotlin/Native compiler has also got improved.
  • Interface calls are up to 5x faster, and type checks up to 50x quicker in Kotlin 1.3.60.

Plans for future

1.3.60 is only a minor release and has not caused significant changes to the language. Kotlin version 1.4 will is awaited and is expected to be launched in 2020.

Kotlin 1.4 is available in the experimental state, so the users can test out the upcoming features by specifying the corresponding language version and set it to 1.4.

Conclusion

The most awaited Kotlin 1.4 will be launched in 2020. Kotlin developers and android app developers are much curious to know about the new updates they will get with the new launch. Kotlin is a broadly used language today, and the new language will immensely impact the android app development.

Read More...