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?
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?
Can this shit be used for large/complex apps or is it too bloated?
Oh and. Is it really multiplatform? Can i write one code that is translate to the native APIs of each and every desktop OS?
>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)
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
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.
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.
I gave up on retained mode gui frameworks.
What's a retained mode gui framework?
'
Javascript is best for all apps, web apps, desktop apps, mobile apps
Even corporations like Microsoft adopted it
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.
no one cares, stop being poor
stop being moronic, most don't, that is like VS Code and nothing else
>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.
>Discord, Obsidian, etc...
Actually Obsidian does not use React
>You feel the performance hit even on modern hardware moron.
I don't. Every Electron app I use works great
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.
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.
JS is actually inferior to the Flutter way of building UIs.
no one cares chud, Electron won deal with it
It's dead on arrival. Last I checked it wasn't HIDPI aware on Linux. Instantly binned.
>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.