Thread
#multiplatform
    r

    Robert

    3 years ago
    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.
    altavir

    altavir

    3 years ago
    You probably should create a ticket in appropriate repository
    r

    Robert

    3 years ago
    But it is a java class, so where should I create it then? Can't create it with Java/Oracle obviously
    altavir

    altavir

    3 years ago
    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

    Robert

    3 years ago
    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
    altavir

    altavir

    3 years ago
    Yes, but you can't use librarires from Java world on JS. For JVM kotlin usually uses wrappers.
    r

    Robert

    3 years ago
    (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 😋)
    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)?
    altavir

    altavir

    3 years ago
    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.
    r

    Robert

    3 years ago
    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 🤣)