Compose with JWM has almost zero lag during window...
# compose-desktop
m
Compose with JWM has almost zero lag during window resize https://github.com/smallshen/JWM-Compose
👀 4
a
thats very cool. I've been playing w\ a Flutter based desktop app, and it's resize performance is flawless, I'm very jealous
huh Winit sounds interesting. Would love to see something other than AWT 😛 Plus something like Winit could open the door to... dare I say it? Native Compose multiplatform targets (Win/x86_64)?
s
why is the performance so much better? Is there an explanation?
I was just noticing that resize performance is pretty bad
a
ya it's a really good question, because under the hood it's all, even Flutter, just using Skia
so I suppose it really does come down to the windowing API if that JWM example actually improves it
I was fearing it was Compose performance on it's own that was the culprit
s
Is JWM sitting inside the swing window? I assume not?
s
https://github.com/JetBrains/kotlin-desktop-toolkit is a new 1p JetBrains window manager. Haven't used it yet but I think they're already using it in some non-IJ-based product
👀 2