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.rs2. 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-component5. 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.
Published at
2025-01-07 08:28:35Event JSON
{
"id": "7a650024a5965c4e4ba35c7d2f51d134f57168dab959dfd0f84cf91cc0a5f970",
"pubkey": "126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f",
"created_at": 1736238515,
"kind": 1,
"tags": [
[
"e",
"44f8f574b7a6f158e1dd0c324ba6b34912abb0fece74f1fb4352b819e1112b84",
"wss://relay.nostr.net/",
"root",
"126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f"
],
[
"e",
"44f8f574b7a6f158e1dd0c324ba6b34912abb0fece74f1fb4352b819e1112b84",
"wss://relay.nostr.net/",
"reply",
"126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f"
],
[
"p",
"126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f",
"wss://relay.nostr.net/"
],
[
"p",
"e4336cd525df79fa4d3af364fd9600d4b10dce4215aa4c33ed77ea0842344b10"
]
],
"content": "Hi nostr:npub1useke4f9maul5nf67dj0m9sq6jcsmnjzzk4ycvldwl4qss35fvgqjdk5ks , I'm on web so I cannot reply you in NIP22.\n\nI'm new to both Iced and GPUI, so I can't provide deeply compare. But when building a desktop app, I consider these points:\n\n1. 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\n\n2. Font rendering must be close to native. I think both Iced a GPUI are almost same\n\n3. 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\n\n5. It must be render by GPU, and can reach 120 FPS or above. Both are same.\n\n6. Better docs and resources. Both are sucks.\n\nThe 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.",
"sig": "1056b365ef85904946cc9bd21f263c744dd252048cb428083d8094ed45cdac7ee252c5dff2bde8a95a692a4123e088a9d0532abeb74a42a6e7c0b5df51efc5ae"
}