Jetpack Compose Multiplatform (for desktop)

Did anyone here try this shit for desktop? Does it work well? I wanted to make a desktop app in Flutter and there are too many things i can't do in it. I heard Compose is based on Swing (which it extends). Any feedback about that?

POSIWID: The Purpose Of A System Is What It Does Shirt $21.68

Nothing Ever Happens Shirt $21.68

POSIWID: The Purpose Of A System Is What It Does Shirt $21.68

  1. 2 years ago
    Anonymous

    Can this shit be used for large/complex apps or is it too bloated?

  2. 2 years ago
    Anonymous

    Oh and. Is it really multiplatform? Can i write one code that is translate to the native APIs of each and every desktop OS?

    • 2 years ago
      Anonymous

      >Oh and. Is it really multiplatform? Can i write one code that is translate to the native APIs of each and every desktop OS?
      It's JVM based (I think it does not support Kotlin/Native yet but I guess it will in the future), so it will work everywhere where the JVM is supported (and where you can use the skia library)

  3. 2 years ago
    Anonymous

    Jetpack Compose will not be ready for production for any platform for a few more years, and by that point Google will probably have abandoned it

    • 2 years ago
      Anonymous

      Frick... Flutter though production ready hasn't yet implemented some core essential features like native support for multiple windows on a single process in desktop shells. Seems like i will have to use Sciter and write everything myself with no packages.

    • 2 years ago
      Anonymous

      You can already use it on Android and desktop. iOS support is in development so you can't use it right now. I think it also supports web but I'm not sure how ready that is.

  4. 2 years ago
    Anonymous

    I gave up on retained mode gui frameworks.

    • 2 years ago
      Anonymous

      What's a retained mode gui framework?

  5. 2 years ago
    Anonymous

    '

  6. 2 years ago
    Anonymous

    Javascript is best for all apps, web apps, desktop apps, mobile apps
    Even corporations like Microsoft adopted it

    • 2 years ago
      Anonymous

      Would agree with you if it didn't come with an embedded browser anon. The ram consumption is too much and it isn't good for multiwindow apps since each new window starts a new process and a new instance of the electron engine.

      • 2 years ago
        Anonymous

        no one cares, stop being poor

        Most companies who use Electron write heavily optimised raw JS code with ffi pure C code. They don't install React along with two dozen modules. And despite that you still feel the hit in performance.

        stop being moronic, most don't, that is like VS Code and nothing else

        • 2 years ago
          Anonymous

          >stop being moronic, most don't, that is like VS Code and nothing else
          All of them do except the most bloated unusable ones like Slack. Discord, Obsidian, etc...

          >no one cares, stop being poor
          You feel the performance hit even on modern hardware moron.

          • 2 years ago
            Anonymous

            >Discord, Obsidian, etc...
            Actually Obsidian does not use React

          • 2 years ago
            Anonymous

            >You feel the performance hit even on modern hardware moron.
            I don't. Every Electron app I use works great

          • 2 years ago
            Anonymous

            I have an I7 processor and 8gb or Ram and i am on Linux which is faster and less bloated than Windows. And yet i still experience latencies when it comes to working with the most uberoptimised Electron app (VSCode).

            Besides, these are relatively lightweight applications. B2B enterprise applications are heavier than that. Most applications that aren't based on very basic CRUD can't run on Electron.

    • 2 years ago
      Anonymous

      Most companies who use Electron write heavily optimised raw JS code with ffi pure C code. They don't install React along with two dozen modules. And despite that you still feel the hit in performance.

    • 2 years ago
      Anonymous

      JS is actually inferior to the Flutter way of building UIs.

      • 2 years ago
        Anonymous

        no one cares chud, Electron won deal with it

  7. 2 years ago
    Anonymous

    It's dead on arrival. Last I checked it wasn't HIDPI aware on Linux. Instantly binned.

  8. 2 years ago
    Anonymous

    >Did anyone here try this shit for desktop?
    Yes.

    >Does it work well?
    I didn't have any problems so I guess.

    >I heard Compose is based on Swing (which it extends). Any feedback about that?
    I don't remember which framework exactly is it that it supports, but yes, it uses some java UI framework for stuff like creating windows (where it then draws it's own stuff)/dialogs/etc.

    >Can this shit be used for large/complex apps or is it too bloated?
    What do you mean by that? It will take as much resources as any other java program.
    But I would say the result binary takes too much disk space (like 100 MB for a simple program). But that's because it bundles the skia native library inside (which alone is like 20 MB) + it embeds the whole jvm and whatever it needs (maybe it uses GraalVM for that? I'm not sure). But as a result you get a single executable file which you can then install and use without installing any additional stuff. It generates these installers for Windows, Linux and MacOS.

Your email address will not be published. Required fields are marked *