<Fleet> Did somebody join the Jetbrains Fleet prev...
# compose-desktop
m
Fleet Did somebody join the Jetbrains Fleet preview? I want to know whether Fleet is developed using Compose for desktop
nope 1
o
Compose is built on top of this library as well
m
That’s great! I think it is better than electron.😁
m
IIRC the dependency graph goes like this: Skia - Skiko - CfD \ Blink - Chromium - Electron
Btw. I guess Feet is plain Skiko because CfD was/is not mature enough and because I suppose it is copy-paste based on IJ, but is there a chance it will eventually turn into CfD at some part? One of the benefits would probably be more resources put into the CfD itself 🙂
s
Fleet uses its own reactive UI framework similar to Compose (view is function on model). It not using Compose because Fleet developing was started long before Compose even exists.
😮 6
m
Interesting 🤔 . Looking at Compose I would assume it is not that quick to build a comprehensive and efficient reactive UI framework just for one application (although big one).
s
This UI framework at some point will be published as open source ?
s
The official answer is:
We are considering all the options as well as open-sourcing parts of the product or technology behind it. Stay tuned for details in the coming months.
b
Makes sense, though it would be pretty cool to see JetBrains dogfooding CfD with a significant project like Fleet
👍 11
8
m
Does the world really need yet another GUI framework instead of concentrating on and improving one long-lived and supported one, i.e., Compose?
3
💯 1
s
While I’m not a Fleet team member, I belive we all hope to reuse Compose. This is just too hard at this moment, but I belive Fleet team will look into that.
🚀 3
👍 3
Please note, this is my personal opinion, not something official
s
So fleet is using the jetbrains secrect ui library
r
Based on poking around at the .jar files, it’s called Noria 😛
s
Since it is using skiko, which means we can render the canvas out put inside Minecraft, I am excited to make a library to fully support minecraft with Kotlin script enhanced, and also in game script editor!
😄 2
r
The Noria JAR file even contains example source files ^^
s
And it already runs on android (🤫)
s
What about IOS
Coding on iPad isn't too bad in some cases
s
There is no jvm for iOS, so this will be completely different story
s
Oh, cause skiko is mpp so I thought fleet will be somehow multi platform too
s
Fleet is 100mb of java class files, without ij backen. Skiko (including skia) is 10mb. You know the difference in complexity :)
m
For iOS there would be GraalVM native-image. You can’t have a JVM on iOS but you can compile all your class files into a native binary and then run it there.
s
GraalVM doesn't magically work for all applications. There are very strong limitations which complicates things and it will take ages to compile codebase at such scale. But this is one of the ways to go, yes.
s
For plugins that currently depend on UI on IntelliJ, will Fleet support interoping with Compose Multiplatform for plugins? They both use Skiko.
m
@snrostov I have already done that quite often for JavaFX on Android (same procedure as for iOS) 😉
👍🏻 1
s
@SrSouza I can't say anything regarding Fleet plugins, sorry. You better to ask someone from Fleet team.