What is Nostr?
reya
npub1zfs…w445
2025-01-07 08:28:35
in reply to nevent1q…n74d

reya on Nostr: Hi dluvian , I'm on web so I cannot reply you in NIP22. I'm new to both Iced and ...

Hi dluvian (npub1use…k5ks) , I'm on web so I cannot reply you in NIP22.

I'm new to both Iced and GPUI, so I can't provide deeply compare. But when building a desktop app, I consider these points:

1. Ability to control window frame, it must be same on all platforms. Iced only can control it on macOS. And GPUI provide a easy way to control the decoration, on linux we can choose between server and client too, here are example: https://github.com/zed-industries/zed/blob/main/crates/gpui/examples/window_shadow.rs

2. Font rendering must be close to native. I think both Iced a GPUI are almost same

3. Can create an element and style it like web component (css like). I migrate from web-tech, so GPUI is more ease to use for me, it adapt tailwind like syntax and provide almost styling like CSS, you can check an example about GPUI components here: https://github.com/longbridge/gpui-component

5. It must be render by GPU, and can reach 120 FPS or above. Both are same.

6. Better docs and resources. Both are sucks.

The main point that I choose GPUI is 3. My most highest priority when building a app is UI, and only GPUI is provide me everything I need to create a UI that I desire.
Author Public Key
npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445