Skip to content

Kotlin multiplatform support (js, wasm, native) #207

Open
@Chuckame

Description

Currently, avro4k is only working on the JVM platform as it uses the apache library that has been made in java. It is fully compatible with jvm and theorically compatible with android.

Making avro4k to be fully multiplatform can be a big challenge as it forces us to ensure that every feature works on each platform. We can do it in 2 ways:

  • Remove the java apache avro dependency to only have full kotlin codebase, the simplest at the end, but will take time to make everything works. The other advantage would be to have zero dependencies (except kotlinx-serialization).
  • Rely on the official libraries like avro-js and avro-java, or even the native libraries for C++, but it will require mappings from libraries to avro4k, and may not match to all the platforms like wasm.

Please put a 👍 if you are interested about adding js, wasm or native platforms compatibility 🚀 (please add a comment showing your need)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions