Giter Site home page Giter Site logo

Comments (4)

kevincianfarini avatar kevincianfarini commented on July 20, 2024

What exactly is the question here? Are you trying to cut down on the binary size of the sqlite driver on JVM by restricting the amount of platforms it supports?

If so, that won't work. The JVM is meant to run on a large array of platforms. Since SQLite drivers are written in C code, to interface with that Java code has to wrap a binary built for each specific platform to interop with it.

Reducing the binary size of the driver by removing these folders is tantamount to removing JVM support for those platforms altogether. That is the opposite of the goal of the JVM.

from sqldelight.

Caij avatar Caij commented on July 20, 2024

What exactly is the question here? Are you trying to cut down on the binary size of the sqlite driver on JVM by restricting the amount of platforms it supports?

If so, that won't work. The JVM is meant to run on a large array of platforms. Since SQLite drivers are written in C code, to interface with that Java code has to wrap a binary built for each specific platform to interop with it.

Reducing the binary size of the driver by removing these folders is tantamount to removing JVM support for those platforms altogether. That is the opposite of the goal of the JVM.

Yes, I would like to provide dependency packages for different platforms, as developers are aware of the target system when packaging jvm app.

eg:
implementation("app.cash.sqldelight:sqlite-driver-mac")
implementation("app.cash.sqldelight:sqlite-driver-win")

from sqldelight.

JakeWharton avatar JakeWharton commented on July 20, 2024

You can request that from the JDBC sqlite driver which provides these binaries. We do not package sqlite.

If they decide to package platform-specific variants, you could exclude our multiplatform dependency and include the platform-specific one in your build.

In general, though, we want to use the artifact which packages for every platform.

from sqldelight.

Caij avatar Caij commented on July 20, 2024

ok, thanks

from sqldelight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.