Early access program for Kotlin 1.2 has been started

The start of the early access program for Kotlin 1.2 has been announced and its first milestone release 1.2-M1 is now out
30 June 2017   1011
Kotlin

Kotlin is a statically-typed programming language that runs on the Java Virtual Machine and also can be compiled to JavaScript source code

Statically typed programming language for modern multiplatform applications opens access for Kotlin 1.2. The list of changes is not so big though contains several features:

  • Language

The single notable language feature proposed in this milestone is array literals, whose usages are constrained to annotation arguments.

  • Standard library

The release features two KEEPs (Kotlin Evolution and Enhancement Proposals) regarding the standard library API. The first is KEEP-49 introducing additional operations and conversion extensions for BigIntegerand and BigDecimal types. The second one is KEEP-11 which covers a number of functions related to partitioning collections and sequences.

  • JavaScript
JavaScript

JavaScript is a lightweight interpreted or JIT-compiled programming language with first-class functions

Earlier in 1.1.2 release the opt-in JS typed arrays support has been introduced. When enabled it translates Kotlin primitive arrays, such as IntArray, DoubleArray etc, into JavaScript typed arrays. Now the opt-in is no longer required as this support is enabled by default.

Check out Kotlin’s changelog to see the full list of changes.

JetBrains to Roll Out Ktor Framework

Framework is suitable for writing back-end projects and microservices in the Kotlin language
20 November 2018   187

JetBrains developers told about the release of the stable version of the Ktor 1.0 framework. It helps to create asynchronous servers and clients in related systems. According to the creators, the framework is suitable for writing back-end projects and microservices in the Kotlin language. Documentation and project generator are published on the official website.

First of all, it is worth noting that this is an open source project that is distributed under the Apache 2 license. The main components are:

  • HTTP server running on a virtual machine. It works on Netty, Jetty, and server-side Java programs. It can be placed in a container, embedded in desktop or Android applications, as well as run on Tomcat. Moreover, it corresponds to the paradigm of the application of twelve factors.
  • Multiplatform HTTP client. Although asynchronous, it uses the same coroutines and I / O elements that control the server.

Tools will help the developer to customize the main components of the application.

The Kotlin / Native project supports Ktor, starting with version 0.8. In this case, the working version of Kotlin / Native 0.9 was released in early September 2018. In it, developers added support for unsigned types and interoperability with C, Objective-C / Swift.