Hi Android community :wave: I'm the developer of ...
# android
d
Hi Android community πŸ‘‹ I'm the developer of Immutable Arrays for Kotlin and I'm hoping to bump the minimum version to JDK 17 in order to upgrade dependencies. Can Android developers safely use Kotlin libraries that use inline classes & inline functions with Java 17 bytecode and still target older devices? I want to make sure I'm not excluding a large portion of the user-base but I'm not familiar with Android development. Thanks in advance πŸ™ p.s. The next release will reduce temporary memory consumption of some operations by 16X on average. Almost done benchmarking locally before pushing.
not kotlin but kotlin colored 1
πŸ‘πŸ» 1
c
Image from iOS.jpg
Hi Android community πŸ‘‹πŸ»
This is Kotlin community πŸ˜‰
d
This is a Kotlin-only library as it doesn't compile when used from Java since it uses things like Inline classes, overload resolution-by-lambda-return-type, etc
c
Sure, but your question is not related in any way to Kotlin.
d
There's an underlying question that only a Kotlin expert could answer: Does Kotlin inlining (inline functions and inline classes) affect the answer at all? If there's some sort of compatibility transformation then I'm not sure whether the order of operations can result in incompatible bytecode being inlined.
c
Then you should ask in #C7L3JB43G if your question is about the generated bytecode for certain Kotlin types.
d
Thanks, I'll ask there. Note that your not kotlin but kotlin colored tag is incorrect
c
But delete this one - cross posting to multiple channels is considered spamming πŸ˜‰
not kotlin but kotlin colored 5
z
It's a Kotlin question for Android developers, seems reasonable here in my opinion. There's also #C8C4JTXR7 which might give you more specific advice.
πŸ™ 5
πŸ‘ 10
d
I got an answer here: https://kotlinlang.slack.com/archives/C7L3JB43G/p1760144846213969?thread_ts=1760144846.213969&cid=C7L3JB43G Leaving this post here in case other people have this question in the future as it's a reasonable question for this channel.
πŸ‘ 2
❀️ 1