kotlinx-datetime 0.2.0 Is Out
Today we’re exploring kotlinx-datetime 0.2.0 — a new version of the Kotlin library for working with dates and times.
kotlinx.serialization 1.2 Released: High-Speed JSON Handling, Value Class Support, Overhauled Docs, and more
kotlinx.serialization 1.2 is out! The latest version of our multiplatform serialization library brings a number of improvements – here are the highlights: JSON serialization is faster than ever before. Version 1.2 is up to twice as fast as previous versions when parsing JSON into type-safe Kotlin objects and turning Kotlin objects into their text representations. Kotlin 1.5 type system additi
viktor: Efficient Vectorized Computations in Kotlin
Introducing viktor viktor is an open-source Kotlin library developed by JetBrains Research that aims to make array calculations more efficient. We achieve this by avoiding nested arrays, delegating expensive operations to JNI + SIMD, and providing built-in support for arithmetics on logarithmically-stored numbers. This post is in celebration of the 1.1.0 release. We will discuss what the library d
How We Test Concurrent Primitives in Kotlin Coroutines
Today we would like to share how we test concurrency primitives in Kotlin Coroutines. Many of our users are delighted with the experience of using coroutines to write asynchronous code. This does not come as a surprise, since with coroutines we are able to write straightforward and readable code, with almost all the asynchronicity happening under the hood. For simplicity, we can think of coroutine
Multik: Multidimensional Arrays in Kotlin
A lot of data-heavy tasks, as well as optimization problems, boil down to performing computations over multidimensional arrays. Today we’d like to share with you the first preview of a library that aims to serve as a foundation for such computations – Multik. Multik offers both multidimensional array data structures and implementations of mathematical operations over them. The library has a simpl
kotlinx.coroutines 1.4.0: Introducing StateFlow and SharedFlow
We’re pleased to announce the release of version 1.4.0 of the Kotlin Coroutines library. The highlights of the release are StateFlow and SharedFlow, which are being promoted to stable API. StateFlow and SharedFlow are designed to be used in cases where state management is required in an asynchronous execution context with Kotlin Coroutines.
kotlinx.serialization 1.0 released
We are happy to share with you the release of version 1.0 of our multiplatform serialization library, kotlinx.serialization. As the first stable version of the library, we can finally consider it production-ready! Whether you are writing Android apps, using Kotlin Multiplatform Mobile, creating server-side services, or building web frontends with Kotlin/JS – kotlinx.serialization comes with a sim
Ktor 1.3 Release
Ktor 1.3 was released recently, and we’re happy to share the details with you in this blog post. Ktor consists of two parts: the server engine and a flexible asynchronous HTTP client. The current release focuses mainly on the HTTP client. Here you can find the complete changelog for this release. The client is a multiplatform library that supports JVM, JS, Android, and iOS and is now often use
KotlinConf 2018 Announcements
In today's keynote at KotlinConf 2018 we made a series of announcements around releases, resources, and other things we've made available. For your convenience below is a brief summary of the announcements with the corresponding links for more information. Kotlin 1.3 hits RC Version 1.3 hits RC and brings a ton of new features and functionality. Coroutines Kotlin Coroutines are no longer ex
Kotlin/Native v0.9 is here!
Summer may be almost over, but our Kotlin/Native team has been breaking a sweat to give you the Kotlin/Native v0.9 release... and here it is! Don't be fooled by the numbering – this is a major (and breaking) release of our compiler toolchain, Gradle plugin, and IDE plugin. Following are the most important changes in this release: Migration to Kotlin 1.3-M2 (compiler and standard library) Suppor
Kotlin/Native v0.8 released
We’re happy to announce the release of Kotlin/Native v0.8! The focus of this release is on: safer concurrent programming extending the stdlib functionality better iOS development support. Also, numerous bug-fixes and optimizations were implemented in this release. AppCode and CLion Kotlin/Native plugins were updated to work with v0.8, along with minor performance and usability improvements.
Kotlin 1.1: What’s coming in the standard library
Java 9 preparations Java 9 is coming and brings Project Jigsaw to the table — the Java platform module system. One of the constraints it imposes is that no two modules can declare public API in the same package. The situation, when there are two modules that contribute to the same package, is called “split” package. We face this issue with split packages in our runtime artifacts: first, kotlin-r