Kotlin Multiplatform перешёл в stable. Что это значит?
#kotlin #multiplatform #kmp
https://habr.com/ru/companies/kts/articles/771498/
#kotlin #multiplatform #kmp
https://habr.com/ru/companies/kts/articles/771498/
Хабр
Kotlin Multiplatform перешёл в stable. Что это значит?
Привет! Меня зовут Максим, я руководитель мобильной разработки в KTS . 1 ноября состоялся релиз Kotlin 1.9.20, beta компилятора k2. Но для нас интереснее глобальное изменение статуса KMP ....
Kotlin под капотом: нюансы использования аннотаций
#kotlin #json #annotation #serialization
https://habr.com/ru/articles/774872/
#kotlin #json #annotation #serialization
https://habr.com/ru/articles/774872/
Хабр
Kotlin под капотом: нюансы использования аннотаций
Котлин очень лаконичный язык, но когда его код компилируется в Java bytecode, то изящные конструкции kotlin распадаются на развесистые и монструозные конструкции Java. При этом применение...
Обзор нескольких распространенных bad-practice в Kotlin
#kotlin #bestpractice
https://proandroiddev.com/kotlin-unknotting-from-realizing-anti-patterns-to-becoming-a-better-developer-c1dfa6c3bab6
#kotlin #bestpractice
https://proandroiddev.com/kotlin-unknotting-from-realizing-anti-patterns-to-becoming-a-better-developer-c1dfa6c3bab6
Medium
Kotlin Unknotting — From Realizing Anti-Patterns to Becoming a Better Developer
An Insightful Guide to Avoiding Common Kotlin Pitfalls and Writing Idiomatically Beautiful Code
Обзор планируемых изменений в KSP2
#kotlin #ksp
https://android-developers.googleblog.com/2023/12/ksp2-preview-kotlin-k2-standalone.html
#kotlin #ksp
https://android-developers.googleblog.com/2023/12/ksp2-preview-kotlin-k2-standalone.html
Android Developers Blog
KSP2 Preview: Kotlin K2 and Standalone Source Generator
KSP2 is in preview. We hope these new features will ultimately help you be more productive when using Kotlin Symbol Processing tool.
Kandy - новая Kotlin библиотека для создания графиков и диаграмм.
Результат можно использовать в Kotlin Notebook. Есть интеграция с библиотекой Kotlin DataFrame.
#kotlin #chart #library
https://blog.jetbrains.com/kotlin/2023/12/kandy-the-new-kotlin-plotting-library-by-jetbrains/
Результат можно использовать в Kotlin Notebook. Есть интеграция с библиотекой Kotlin DataFrame.
#kotlin #chart #library
https://blog.jetbrains.com/kotlin/2023/12/kandy-the-new-kotlin-plotting-library-by-jetbrains/
Краткий обзор нескольких новых фич в Kotlin K2 компиляторе
- Enhanced Enum Entry Flexibility
- Resolving CONFLICTING_OVERLOADS
- Smart Cast for Invisible Setters
- Improved Delegate Inference
#kotlin
https://blog.cloud-inject.io/kotlin-k2-compiler-and-koin
- Enhanced Enum Entry Flexibility
- Resolving CONFLICTING_OVERLOADS
- Smart Cast for Invisible Setters
- Improved Delegate Inference
#kotlin
https://blog.cloud-inject.io/kotlin-k2-compiler-and-koin
Курс от JetBrains по рефакторингу кода в IntelliJ IDEA
- Introduction
- RefactoringAndItsPurpose
- CodeStyleAndFormatting
- RenamingCode
- MovingCode
- ExtractingCode
- InliningCode
- RefactoringToDesignPatterns
- Conclusion
#course #androidstudio #kotlin
https://blog.jetbrains.com/education/2024/01/17/learn-ide-code-refactoring/
- Introduction
- RefactoringAndItsPurpose
- CodeStyleAndFormatting
- RenamingCode
- MovingCode
- ExtractingCode
- InliningCode
- RefactoringToDesignPatterns
- Conclusion
#course #androidstudio #kotlin
https://blog.jetbrains.com/education/2024/01/17/learn-ide-code-refactoring/
The JetBrains Blog
Learn IDE Code Refactoring in Kotlin for Enhanced Code Quality | The JetBrains Academy Blog
The Introduction to IDE Code Refactoring in Kotlin course has been released on JetBrains Marketplace.
Статья объясняет достаточно непростую для понимания тему Context Receiver
#kotlin
https://medium.com/@hzolfagharipour/comprehensive-guide-to-kotlin-context-receiver-f5478eea6b42
#kotlin
https://medium.com/@hzolfagharipour/comprehensive-guide-to-kotlin-context-receiver-f5478eea6b42
Пример создания своего диспетчера для корутин, который работает на базе PriorityBlockingQueue.
#kotlin #coroutines #dispatcher
https://medium.com/@khush.panchal123/prioritydispatcher-dispatcher-based-on-priority-queue-035cebd6f96a
#kotlin #coroutines #dispatcher
https://medium.com/@khush.panchal123/prioritydispatcher-dispatcher-based-on-priority-queue-035cebd6f96a
Medium
PriorityDispatcher — Priority based Dispatcher in Kotlin Coroutines
Dispatcher based on PriorityQueue for prioritisation of task in Kotlin coroutines.
Сравнение различных фрагментов кода в iOS и Android:
- Language
- UI Components
- Local Storage
- Network/HTTP Request
- Navigation
- Database/Offline Storage
- The IDE
- Community Support
- Learning Curve
https://blog.kotlin-academy.com/swiftui-v-s-jetpack-compose-0c4d778c26d5
#android #kotlin #compose #ios
- Language
- UI Components
- Local Storage
- Network/HTTP Request
- Navigation
- Database/Offline Storage
- The IDE
- Community Support
- Learning Curve
https://blog.kotlin-academy.com/swiftui-v-s-jetpack-compose-0c4d778c26d5
#android #kotlin #compose #ios
Medium
SwiftUI v/s Jetpack Compose
The epic showdown of the mobile app development arena! Get ready to compare the full insight of these frameworks.
Подробная статья про KSP, теория и практика
#android #kotlin #ksp
https://medium.com/@umpteenthdev/kotlin-symbol-processing-from-theory-to-practice-e85f980eb67e
#android #kotlin #ksp
https://medium.com/@umpteenthdev/kotlin-symbol-processing-from-theory-to-practice-e85f980eb67e
Сводка последних новостей от JetBrains:
Product News
- Compose Multiplatform 1.6.0 – resources, UI testing, iOS accessibility, and preview annotation
- Amper update – February 2024
- The Ktor roadmap for 2024
Survey
- Configuration Language Survey – help shape the future of build configurations
Google Summer of Code
- Become a Kotlin Google Summer of Code contributor and make an impact!
Advent of Code in Kotlin
- Celebrating our participants and their solutions
Livestream Recordings
- Strategies for successful conference talks
- Data analytics with Kotlin notebooks
Education
- Learn to refactor using your IDE for better Kotlin code
#android #kotlin #jetbrains #compose
https://blog.jetbrains.com/kotlin/2024/03/kotlin-roundup-feb-march-24/
Product News
- Compose Multiplatform 1.6.0 – resources, UI testing, iOS accessibility, and preview annotation
- Amper update – February 2024
- The Ktor roadmap for 2024
Survey
- Configuration Language Survey – help shape the future of build configurations
Google Summer of Code
- Become a Kotlin Google Summer of Code contributor and make an impact!
Advent of Code in Kotlin
- Celebrating our participants and their solutions
Livestream Recordings
- Strategies for successful conference talks
- Data analytics with Kotlin notebooks
Education
- Learn to refactor using your IDE for better Kotlin code
#android #kotlin #jetbrains #compose
https://blog.jetbrains.com/kotlin/2024/03/kotlin-roundup-feb-march-24/
The JetBrains Blog
Kotlin Roundup: Unveiling the New Compose Multiplatform Release, Amper Update, and More! | The Kotlin Blog
Unveiling the New Compose Multiplatform Release, Amper Update, and other Kotlin ecosystem news.
Очередная статья о том, что такое Kotlin Multiplatform и почему имеет смысл его использовать
- What is Kotlin Multiplatform?
- How does Kotlin Multiplatform differ from other cross-platform solutions?
- When should you choose KMP?
- Top apps made with Kotlin Multiplatform
#android #kotlin #kmp
https://www.thedroidsonroids.com/blog/what-is-kotlin-multiplatform
- What is Kotlin Multiplatform?
- How does Kotlin Multiplatform differ from other cross-platform solutions?
- When should you choose KMP?
- Top apps made with Kotlin Multiplatform
#android #kotlin #kmp
https://www.thedroidsonroids.com/blog/what-is-kotlin-multiplatform
Поговорим сегодня про context receivers — фиче Kotlin, про которую я узнал давно, но смог найти применение лишь пару месяцев назад. Расскажу о том, что такое context receivers, где их можно использовать, и, конечно же, про «успешный успех» — минус 60% самописного DI в Ozon ID SDK. Но обо всём по порядку.
#kotlin #android #contextreceivers
https://habr.com/ru/companies/ozontech/articles/802641/
#kotlin #android #contextreceivers
https://habr.com/ru/companies/ozontech/articles/802641/
Хабр
Context receivers — новые extension functions
Думаю, не раскрою большой секрет, что Ozon разработал энное количество мобильных приложений: для покупателей, для продавцов, банк и т. д. В каждом из них требуется авторизация. Для этого существует...
Что нового в Kotlin 2.0.0-Beta5
IDE support
Kotlin K2 compiler
- Current K2 compiler limitations
- Smart cast improvements
- Kotlin Multiplatform improvements
- Compiler plugins support
- How to enable the Kotlin K2 compiler
- Try the Kotlin K2 compiler in Kotlin Playground
- Support in IntelliJ IDEA
- Leave your feedback on the new K2 compiler
Kotlin/Native: resolving conflicts with Objective-C methods
Kotlin/Wasm
- Unsigned primitive types in functions with @JsExport
- Binaryen available by default in production builds
- Generation of TypeScript declaration files in Kotlin/Wasm
- Support for named export
Kotlin/JS
- Support for type-safe plain JavaScript objects
- Support for npm package manager
Gradle improvements
- Improved Gradle dependency handling for CInteropProcess in Kotlin/Native
- Visibility changes in Gradle
- New directory for Kotlin data in Gradle projects
- Kotlin/Native compiler downloaded when needed
- Deprecating old ways of defining compiler options
Standard library: Stable AutoCloseable interface
What to expect from upcoming Kotlin EAP releases
How to update to Kotlin 2.0.0-Beta5
#kotlin
https://kotlinlang.org/docs/whatsnew-eap.html
IDE support
Kotlin K2 compiler
- Current K2 compiler limitations
- Smart cast improvements
- Kotlin Multiplatform improvements
- Compiler plugins support
- How to enable the Kotlin K2 compiler
- Try the Kotlin K2 compiler in Kotlin Playground
- Support in IntelliJ IDEA
- Leave your feedback on the new K2 compiler
Kotlin/Native: resolving conflicts with Objective-C methods
Kotlin/Wasm
- Unsigned primitive types in functions with @JsExport
- Binaryen available by default in production builds
- Generation of TypeScript declaration files in Kotlin/Wasm
- Support for named export
Kotlin/JS
- Support for type-safe plain JavaScript objects
- Support for npm package manager
Gradle improvements
- Improved Gradle dependency handling for CInteropProcess in Kotlin/Native
- Visibility changes in Gradle
- New directory for Kotlin data in Gradle projects
- Kotlin/Native compiler downloaded when needed
- Deprecating old ways of defining compiler options
Standard library: Stable AutoCloseable interface
What to expect from upcoming Kotlin EAP releases
How to update to Kotlin 2.0.0-Beta5
#kotlin
https://kotlinlang.org/docs/whatsnew-eap.html
Kotlin Help
What's new in Kotlin 2.0.0-RC3 | Kotlin
Подробное иллюстрированное введение в тему Generics в Kotlin
#kotlin #generics
https://typealias.com/start/kotlin-generics/
#kotlin #generics
https://typealias.com/start/kotlin-generics/
Dave Leeds on Kotlin
Generics
Perk up your understanding of generics in Chapter 18 of Kotlin: An Illustrated Guide! Through the engaging examples of Jennifer's bakery café and its ever-evolving beverage menu, you'll learn all about generics, type parameters, type arguments, upper-bound…
Подборка курсов для изучения Kotlin:
Introduction to Kotlin
Kotlin Onboarding
Kotlin Koans
AtomicKotlin
Kotlin Core
Coroutines and Channels
Introduction to IDE Code Refactoring in Kotlin
Algorithmic Challenges in Kotlin
Kotlin Developer
Introduction to Ktor
Kotlin Backend Developer (Spring Boot)
Introduction to Android With Kotlin
Android Developer With Kotlin
#kotlin #course
https://blog.jetbrains.com/education/2024/04/04/kotlin-learning-guide/
Introduction to Kotlin
Kotlin Onboarding
Kotlin Koans
AtomicKotlin
Kotlin Core
Coroutines and Channels
Introduction to IDE Code Refactoring in Kotlin
Algorithmic Challenges in Kotlin
Kotlin Developer
Introduction to Ktor
Kotlin Backend Developer (Spring Boot)
Introduction to Android With Kotlin
Android Developer With Kotlin
#kotlin #course
https://blog.jetbrains.com/education/2024/04/04/kotlin-learning-guide/
The JetBrains Blog
A Comprehensive Kotlin Learning Guide for All Levels | The JetBrains Academy Blog
Use the flow chart to get an overview of all our Kotlin learning content and choose your next course.
Статья о производительности нового K2 компилятора. Сравнивают сборки на Kotlin 1.9.23 и Kotlin 2.0.0, версия Gradle - 8.5.
#android #kotlin #performance
https://blog.jetbrains.com/kotlin/2024/04/k2-compiler-performance-benchmarks-and-how-to-measure-them-on-your-projects/
#android #kotlin #performance
https://blog.jetbrains.com/kotlin/2024/04/k2-compiler-performance-benchmarks-and-how-to-measure-them-on-your-projects/
The JetBrains Blog
K2 Compiler Performance Benchmarks and How to Measure Them on Your Projects | The Kotlin Blog
Dive into the K2 compiler’s performance benchmarks and learn how to measure performance in your own projects.
Подробная иллюстрированная статья про Kotlin Variance модификаторы In и Out
#kotlin
https://typealias.com/start/kotlin-variance/
#kotlin
https://typealias.com/start/kotlin-variance/
Dave Leeds on Kotlin
Generic Variance
Create subtypes from your parameterized types using Kotlin's generic variance. In this chapter, we'll learn about covariance, contravariance, and how they can be applied in declaration-site variance and use-site variance, based on three simple rules of subtypes.