Posted on Leave a comment

Terminal, CLI + Kotlin

Terminal-based HTTP/REST client
[https://github.com/LucasPickering/slumber]

Build terminal UI in Kotlin using Jetpack Compose
[https://github.com/JakeWharton/mosaic]

Mordant is a multiplatform library for rendering styled text in the terminal. You can use it to add color and style to text, create tables, draw animations, and more.
[https://ajalt.github.io/mordant/]

Clikt (pronounced “clicked”) is a multiplatform Kotlin library that makes writing command line interfaces simple and intuitive. It’s the “Command Line Interface for Kotlin”.
[https://ajalt.github.io/clikt/]

Posted on Leave a comment

Kotlin 2-beta5

https://kotlinlang.org/docs/whatsnew-eap.html

IDE support

Kotlin K2 compiler

  • Current K2 compiler limitations
  • Smart cast improvements
  • Kotlin Multiplatform improvements
  • Compiler plugins support
  • How to enable the Kotlin K2 compiler
  • Try the Kotlin K2 compiler in Kotlin Playground
  • Support in IntelliJ IDEA
  • Leave your feedback on the new K2 compiler

Kotlin/Native: resolving conflicts with Objective-C methods

Kotlin/Wasm

  • Unsigned primitive types in functions with @JsExport
  • Binaryen available by default in production builds
  • Generation of TypeScript declaration files in Kotlin/Wasm
  • Support for named export

Kotlin/JS

  • Support for type-safe plain JavaScript objects
  • Support for npm package manager

Gradle improvements

  • Improved Gradle dependency handling for CInteropProcess in Kotlin/Native
  • Visibility changes in Gradle
  • New directory for Kotlin data in Gradle projects
  • Kotlin/Native compiler downloaded when needed
  • Deprecating old ways of defining compiler options

Standard library: Stable AutoCloseable interface

What to expect from upcoming Kotlin EAP releases

How to update to Kotlin 2.0.0-Beta5