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 1.5.10

Bugfixes for Kotlin 1.5.0

Changelog

📦 Kotlin 1.5.20-M1

🔤 String concatenation uses invokedynamic on JVM.
🏷 Annotations on function type parameters are emitted to the bytecode on JVM 1.8+.
📋 Experimental caching of annotation processors’ classloaders.

Try it
Changelog
Compose for Desktop: Milestone 4 Released

- A new, experimental API for managing windows, dialog boxes, menu bars, and tray icons, now based on the @Composable mechanism
- Support for tooltips
- Better support for pointer events, including access to native events to distinguish between the different mouse buttons
- Text field improvements surrounding undo/redo, as well as selections
- Rendering improvements, including an all-new Metal-based renderer on macOS, and the ability to switch between integrated and discrete video cards for hardware acceleration
New color for Kotlin on github 💜
Kotlin 1.5 Event Materials and the 10 Most Interesting Questions from the Q&A

Top 10 questions (answers in the blogpost)

1. Do you think large monolith Kotlin projects will also get a performance boost in future versions?
2. What’s the team vision on compiler plugins in the long run?
3. Are there plans to support WebAssembly in Jetpack Compose for Web?
4. Any news on the Kotlin Native garbage collector rewrite?
5. With Java adopting many features that Kotlin has or had, how will Kotlin stand out against Java after JDK17 is released?
6. What is the ultimate goal of Kotlin? Is it something like ‘Write in one language, used in everywhere’? (I thought this because of Kotlin Multiplatform, KMM, Compose for Web, Desktop, etc.)
7. Have you already tried Project Loom in Coroutines implementation?
8. As a tech lead with experience of leading a real world project with KMM, it’s harder to get iOS developers to accept this stack. This would be easier with AppCode integration, so you have such plans to support the iOS developer experience further?
9. Are (or will be) there any tools to access compiler and analyzer api for external usage? The only way now is using Kotlin compiler source code itself.
10. Why main() isn’t use in Android development?
📦 Kotlin 1.5.20-RC

– Parallel compilation of Kotlin sources is controlled by —parallel Gradle property. The kotlin.parallel.tasks.in.project property is deprecated.

– Aligned behavior of stdlib functions isLowerCase`/ `isUpperCase and digitToInt across platforms.

– Kotlin/Native: opt-in export of KDoc comments to the generated Objective-C headers with the -Xexport-kdoc compiler option.

Changelog
https://twitter.com/relizarov/status/1405800440588128258?s=21

> One of the most voted requests for enchantment in Kotlin is KT-10468 "multiple receivers". After literally dozens of hours of discussions and prototyping, we finally present the design proposal we've converged on — please welcome Context Receivers
📦 Kotlin 1.5.20

- Support for Java’s Lombok annotations in Kotlin/Java sources
- String concatenation via invokedynamic
- Stdlib and Gradle tooling improvements

Blogpost
Changelog
Take part in Kotlin Heroes: Episode 7!

Kotlin Heroes is a Kotlin-only coding contest, where everyone of every level has a chance to win prizes. The challenge begins on June 29. Today is the last day to join and have a chance win some cool Kotlin swag!

Register here -> https://kotl.in/96xbgj
📣 KotLand 2021 annual conference
📌 Online
📅 July 2-3, 2021
🌐 https://www.kotland.org/

Come and join an interesting journey deep and wide across Kotlin lands!

🎤 Many speakers you know and love
📚 Lots of interesting topics
💸 Affordable tickets
Kotlin Features Survey Edition #2

Share your vision on features you'd like to see in Kotlin and attend webinar with Roman Elizarov and Svetlana Isakova on July 13, 17:30 CEST!
Kotlin API for Apache Spark 1.0 Released

· Typed select and sort
· More column functions
· More KeyValueGroupedDataset wrapper functions
· Support for Scala TupleN classes
· Support for date and time types
· Support for maps encoded as tuples