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
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
๐Ÿ˜5๐Ÿคฏ3๐Ÿคฎ3๐Ÿ‘1๐Ÿค”1
Creator of the Spring Framework: I basically had no desire to write Java, at all
https://www.youtube.com/watch?v=MQuPfZsiVx8
๐Ÿ‘7โค2๐Ÿคฎ1