Is there a channel/tracker where we can request ne...
# multiplatform
r
Is there a channel/tracker where we can request new libraries to become multiplatform? For example I would love to use
InetAddresses
, but it is not compatible.
a
You probably should create a ticket in appropriate repository
3
r
But it is a java class, so where should I create it then? Can't create it with Java/Oracle obviously
a
Then it does not exist. You should find a library that have similar functionality. I would start with https://github.com/ktorio/ktor
You should remember that it is not the aim of the kotlin to just copy everything that exists in Java, so in some cases Koltin will provide different (in most cases better) API.
r
But you want to be compatible with the most popular libraries from the Java world I would say. That's one of the main reasons what drives users towards Kotlin instead of others. Also, without it, most projects can't even make the switch
a
Yes, but you can't use librarires from Java world on JS. For JVM kotlin usually uses wrappers.
r
(ktor looks awesome, but isn't multiplatform from what I can see, will be a hell of a job to do so. Especially just for replacing one or two simple Java classes 😋)
👎 1
But the more general question. If something is not yet available on Kotlin (especially multiplatform) is there a central place where one can post requests (and add bounties)?
a
It is partially multiplatform. And yes, there is a https://youtrack.jetbrains.com/oauth?state=%2Fissues%2FKT. Though I think that requests to just give you some class from java without motivation will be discarded. I am not sure what you mean by bounties.
👌 1
🔥 1
r
Bounties is like funding. It is unfair to make one company pay for the development of a library if actually multiple companies wants to use it. By adding bounties to a task companies can make it more appealing for developers to start working on a task or library.
(28000+ issues, nice 🤣)