We're working on more desktop magic โ€” including <p...
# jewel
s
We're working on more desktop magic โ€” including proper keymap support (that integrates with IntelliJ's for plugins, and works on Standalone too), stabilising and turning on by default native popups (so they use real separate windows, like Swing/native apps do), and much more. Exciting times ahead! Now, if only the JetBrains CI let us publish 0.38 and 0.39 standalone ๐Ÿ˜› We're already working on the 0.40 release, but we're stuck with the previous releases at the end of the publishing pipeline due to a gazillion issues that keep cropping up, blocking us on things we then need to get other folks to unblock ๐Ÿ˜ž
โค๏ธ 2
๐Ÿ™Œ 3
K 1
u
I look forward to it every day!
s
Us too ๐Ÿ˜‚
I also want to start using AOT compilation in JBR 25 but I need to get Jewel 0.38+ since that's when it switched to JBR 25 (due to the IJ platform switching)
u
What do you mean by AoT compilation? Leyden or GraalVM?
s
docs.oracle.com/en/java/โ€ฆ/significant-changes-jdk-25.html AOT compilation โ€” see the performance section. I know CMP is working to also support it
I mean it works already, to be clear, but the ergonomics are not great
u
it's not real AOT, it's Leyden. It's just that the JVM reaches C2 faster, but the RAM usage is the same.
s
Yeah I don't care too much about RAM usage right now, it gives me 40% faster startup in my early tests and that's my main need.
u
Yes, that's the first thing I wanted to add to Nucleus ๐Ÿ™‚
s
Compose's standard RAM usage is already acceptable, especially compared to Electron, so ๐Ÿคท I'll live
u
Uh, no, I don't really agree. Electron's efforts are absolutely incredible; a Hello World uses 70MB of RAM.
s
And I can't use native-image for some of the projects I am working on because I need reflection and classloading
๐Ÿ’ฏ 1
So this is the best compromise
Ah my figures on electron are old, it used to be 200+ mb just to start, ballooning to 3-400 on a simple app
Happy they improved that
u
It depends on how you measure and on which os
s
Still won't use electron XD
๐Ÿ˜† 1
u
On Windows, the value displayed by Task Explorer is much lower than on Mac and Linux.
because it only displays the private RAM
But I managed to use leyden with Jewel 0.37.
Actually, it works quite simply, just use a JDK 25 and it works.
s
Yeah did the same test earlier
u
Nucleus allows you to manage the AOT cache very easily and integrate it into the packaging nucleusframework.dev/en/docs/performance/aot-cache
s
Yup but the stuff I'm working on requires AWT so Nucleus is not the best course of action for that one specifically
u
The vast majority of nucleus modules work with awt, as does the gradle plugin for the packaging
s
I use it when I don't need AWT
u
You can use Nucleus without using the Tao backend; Nucleus is really very modular.
s
I know I know
d
@ืืœื™ื”ื• ื”ื“ืก both 0.38 and 0.39 are out now ๐Ÿ™‚
s
jewel ++
๐Ÿ’Ž 1
u
Great ! I see you've enhanced the magic functionality under macOS by using native pointers.
d
Yep, for scrollbars ๐Ÿ•บ
โž• 1
u
You are part of the Jewel team ?
d
Yes! I've been working on it for a good while now
๐Ÿ† 1