binary-compatibility-validator
kotlinx.coroutines
binary-compatibility-validator | kotlinx.coroutines | |
---|---|---|
8 | 59 | |
729 | 12,739 | |
2.6% | 0.5% | |
7.6 | 8.9 | |
4 days ago | 6 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
binary-compatibility-validator
-
Kotlin/JS API support in the Kotlin Binary Compatibility Validator
It’s an add-on, that brings Kotlin/JS API support to the KotlinX Binary Compatibility Validator (BCV) based on the generated TS definitions. Closes feature request Kotlin/binary-compatibility-validator#42
- References for Library & SDK Design?
-
Visualize all Kotlin Interface's in a Repo
https://github.com/Kotlin/binary-compatibility-validator is used to verify the public API hasn't changed. I don't know if it works with Java.
-
How does Kotlin backward compatibility work?
On the binary compatibility, I've found this post on Kotlin binary compatibility to be very very helpful. Also, for library authors, Kotlin has a binary compatibility validator that can be plugged into the build to ensure no accidental binary incompatibility occurs.
-
Kotlin 1.6.0 generates public members in bytecode when marked internal
This was caught by my CI since I verify binary compatibility using binary-compatibility-validator gradle plugin.
-
All About Opt-In Annotations
A common tool you can use for Kotlin projects is the Binary compatibility validator plugin. This plugin calls annotations that mark API that shouldn't be considered public "non-public markers".
-
What are the architecture guidelines when developing an SDK?
The Kotlin team had added a bunch of tools to help SDK developers including this binary compatibility validator. This helps ensure you aren't adding errant new methods
-
Data classes in Kotlin: the real impact of using it
I have another article about how JetBrains observes these binary incompatible changes by using binary compatibility validator and how library developers can use it in their own projects (it was written before standalone plugin release).
kotlinx.coroutines
-
Gradle: from Newbie to Strong fundamentals
Now, let's consider an example. For instance, let's create a Kotlin/JVM project with kotlinx.coroutines library as a dependency.
-
Add `statefulMap` and `statefulTransform` operator to Kotlin coroutines' Flow
Greetings community, I just submited a PR to Kotlin coroutines with two additional operators :
-
Should I choose Kotlin over Java for a new project (backend)?
The harder parts of Kotlin are going to be things like kotlinx.coroutines, but that's just a library, not a core part of the language. It's about as hard to learn as a comparable library in another language, like the Task Parallel Library in .NET.
- kotlinx.coroutines 1.7.0 released
- Is it ok to have global scopes when the coroutine I'm starting has *nothing* to do with showing UI, nor do I care about its result?
- Release 1.7.0-Beta · Kotlin/kotlinx.coroutines
- Does the documentation of async{} and launch{} apply to each other? (Aside from the difference that async {} returned a Deferred)
-
Reactive Backend Applications with Spring Boot, Kotlin and Coroutines (Part 2)
Kotlin has coroutines that are supported by the language and implemented by a library (the implementation remains platform-dependent): kotlinx.coroutines and a sandbox environment is available here to try it out.
- Kotlinx Coroutines for Kotlin 1.7.x
-
Get value from coroutine function
That said, since it seems like you're doing UI stuff (Android?), you're best off doing all of the UI code in coroutines, using Dispatchers.Main as a context (as provided by one of the platform-specific coroutine libraries), since this will guarantee that your UI code will be safely run in the UI thread.
What are some alternatives?
dokka - API documentation engine for Kotlin
kotlin-coroutines - Examples for coroutines design in Kotlin
dependency-analysis-gradle-plugin - Gradle plugin for JVM projects written in Java, Kotlin, Groovy, or Scala; and Android projects written in Java or Kotlin. Provides advice for managing dependencies and other applied plugins
kotlin - The Kotlin Programming Language.
compose-multiplatform - Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
zally - A minimalistic, simple-to-use API linter
okio - A modern I/O library for Android, Java, and Kotlin Multiplatform.
korim - Korim: Kotlin cORoutines IMaging, Bitmap and Vector graphics for Multiplatform Kotlin
korio - Korio: Kotlin cORoutines I/O : Virtual File System + Async/Sync Streams + Async TCP Client/Server + WebSockets for Multiplatform Kotlin 1.3
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
spring-kotlin-coroutine - Kotlin coroutine support for Spring.