Menu
Kotlin 1.4 arrives with IDE and compiler enhancements

Kotlin 1.4 arrives with IDE and compiler enhancements

New release also features a project wizard for easy creation of projects of different types

Credit: Dreamstime

Kotlin 1.4, an upgrade to JetBrains’ Java alternative, is now available as a production release. Highlights of the update include new IDE and compiler capabilities.

IDE improvements in Kotlin 1.4 include a coroutine debugger and a Kotlin Project Wizard, which creates Kotlin projects of different types. The IDE also gains 40 new quick fixes, intentions, and inspections. And thanks to IDE performance tweaks, autocomplete suggestions and content highlighting in large Kotlin files are faster. 

A new compiler in Kotlin 1.4 features a more powerful type inference algorithm. There also are new JVM and JavaScript back ends, currently in an alpha mode. A hierarchical project structure in Kotlin 1.4 enables sharing of code between a subset of targets, such as similar iOS-related targets for iOS ARM64 devices. In addition, developers can use platform-dependent libraries from common code shared among several native targets.

Instructions for getting started with Kotlin can be found at kotlinlang.org. Statically typed Kotlin is positioned for the JVM, Android development, and the browser. In May 2017 Google endorsed Kotlin for the development of Android mobile apps.

Other features in Kotlin 1.4 include:

  • SAM (single abstract method) conversions for Kotlin interfaces.
  • An explicit API mode for library authors.
  • Mixing of named and positional arguments.
  • Trailing comma.
  • Callable reference improvements.
  • Experimental type annotations.
  • Use of break and continue inside when in loops.
  • Standard library improvements including new collection operators, delegated properties improvements and other capabilities, such as a double-ended queue implementation, ArrayDeque.
  • Gradually eovling coroutines based on user feedback.
  • The serialization library is getting closer to maturity with the release of serialization 1.0.0-RC.
  • The kotlinx-datetime library and preview of the DateTime API.
  • The JavaScript target for Kotlin has a new Gradle DSL and an alpha version of the Kotlin/JS IR compiler back end.
  • Improved performance of Kotlin/Native compilation and execution.
  • Better interoperability between Kotlin/Native and Swift/Objective-C.
  • Simplified management of CocoaPods dependencies.

Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Events

Featured

Slideshows

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

This year’s Reseller News 30 Under 30 Tech Awards were held as an integral part of the first entirely virtual Emerging Leaders​ forum, an annual event dedicated to identifying, educating and showcasing the New Zealand technology market’s rising stars. The 30 Under 30 Tech Awards 2020 recognised the outstanding achievements and business excellence of 30 talented individuals​, across both young leaders and those just starting out. In this slideshow, Reseller News honours this year's winners and captures their thoughts about how their ideas of leadership have changed over time.​

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners
Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

This exclusive Reseller News Exchange event in Auckland explored the challenges facing the partner community on the cloud security frontier, as well as market trends, customer priorities and how the channel can capitalise on the opportunities available. In association with Arrow, Bitdefender, Exclusive Networks, Fortinet and Palo Alto Networks. Photos by Gino Demeer.

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security
Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomed 2019 inductees - Leanne Buer, Ross Jenkins and Terry Dunn - to the fourth running of the Reseller News Hall of Fame lunch, held at the French Cafe in Auckland. The inductees discussed the changing face of the IT channel ecosystem in New Zealand and what it means to be a Reseller News Hall of Fame inductee. Photos by Gino Demeer.

Reseller News welcomes industry figures at 2020 Hall of Fame lunch
Show Comments