The Daily Kotlin
1.61K subscribers
53 photos
1 video
1 file
494 links
Kotlin Chats in Telegram:
RU https://kug.community/
EN https://kug.community/en

Kotlin news and tips
Download Telegram
Ktor 3.0.2

A patch release addressing multiple bug fixes related to response corruption, truncated bodies, connection handling, and incorrect headers, along with extended binary encoding support and performance enhancements for Android.
👍3🤮1
@kotlin_lang is 8 years old today!

The first message was written on December 14, 2016.
21🎉8🤯4🔥3💩3👏2🤮1
Kotlin 2.1.20-Beta1

This version includes context parameters under the flag -Xcontext-parameters, but there is no IDE support (K2 Mode) in the current stable version of IntelliJ IDEA.


context(userContext: UserContext)
fun testUserInfo() {
println("Hello, world! I'm ${userContext.user.id}!")
}


Additionally, context receivers still function in 2.1.20-Beta1 (even though I previously wrote that they wouldn’t).

Also:

- Kotlin K2 compiler: new default kapt plugin
- Gradle: support for version 8.11


https://kotlinlang.org/docs/whatsnew-eap.html
https://github.com/JetBrains/kotlin/releases/tag/v2.1.20-Beta1
🔥4👍1🤮1
Ktor 3.1.0 Release

Ktor has been released with multiple improvements, and even I contributed a tiny MR that adds a content type for YAML.

Blog
Github
🔥11👍3🤮1
OpenAI vs. DeepSeek: Which AI Understands Kotlin Better?


Generators Average assessment
DeepSeek-R1 8.79
OpenAI o3-mini 8.70
OpenAI o1 8.62
OpenAI o1-preview 8.60
OpenAI o1-mini 8.40
OpenAI GPT-4o (11.20.2024) 8.40
Anthropic Claude 3.5 Sonnet 8.38
👍13😁1🤮1
👍2🔥2🤮1
Kotlin 2.1.20 Released

What's new
👍2🔥2🤮1