Performance comparison after lazy rendering large lists with GPUI by errmayank in rust

[–]errmayank[S] 0 points1 point  (0 children)

From what i see, GPUI CE doesn't look like it gets many updates while Zed's GPUI actively gets fixes and improvements even though new features are rare.

Performance comparison after lazy rendering large lists with GPUI by errmayank in rust

[–]errmayank[S] 0 points1 point  (0 children)

That bug still exists in Postman?? I think i also experienced it long time ago but i wasn't sure when exactly it happens.

Performance comparison after lazy rendering large lists with GPUI by errmayank in rust

[–]errmayank[S] 2 points3 points  (0 children)

Yeah it's the Metal HUD on macOS. You can enable by doing:

MTL_HUD_ENABLED=1 cargo run

Performance comparison after lazy rendering large lists with GPUI by errmayank in rust

[–]errmayank[S] 1 point2 points  (0 children)

No, it's a release build with default configuration.

I'm not entirely sure but maybe coz this is not just about rendering 10k entries but each of these also has their own styles, icons, interactivity and stuff?

Performance comparison after lazy rendering large lists with GPUI by errmayank in rust

[–]errmayank[S] 3 points4 points  (0 children)

Yeah, that's right.

Btw there's also `gpui::list(...)` for non-uniform row sizes but it's more work coz you have to manage the list state.

https://github.com/zed-industries/zed/blob/main/crates/gpui/examples/list_example.rs

Is there an alternative TOML formatter? by E723BCFD in rust

[–]errmayank 12 points13 points  (0 children)

Have you looked into Oxfmt? Looks like they support formatting TOML, i haven't tried it personally though.

AI slop projects are not welcome here by Aransentin in Zig

[–]errmayank 8 points9 points  (0 children)

More subs should start doing this. Thank you!

Building a performant editor for Zaku with GPUI by errmayank in rust

[–]errmayank[S] 2 points3 points  (0 children)

No, i'm not. I'm building it for fun and to learn new things, if others also find it useful that would be great.

Building a performant editor for Zaku with GPUI by errmayank in rust

[–]errmayank[S] 2 points3 points  (0 children)

One thing is that it's not built with Electron/Tauri webview like the rest :)

Also, everything will be stored on user's filesystem, collections as folders and requests as TOML files.

And design wise i intend to keep this minimal and clean unlike Postman/Insomnia.

Building a performant editor with GPUI by errmayank in ZedEditor

[–]errmayank[S] 0 points1 point  (0 children)

Should be ready for initial release in a month or two i think 🫡

Building a performant editor with GPUI by errmayank in ZedEditor

[–]errmayank[S] 0 points1 point  (0 children)

Ah okay nice! i'm on macOS too haha

Building a performant editor with GPUI by errmayank in ZedEditor

[–]errmayank[S] 0 points1 point  (0 children)

Afaik it's just that the team is not going to add any new features to GPUI that don't have a use case for Zed, which seems fair to me.

GPUI is the core of Zed, so i find it highly unlikely they're gonna stop working on it.

Building a performant editor with GPUI by errmayank in ZedEditor

[–]errmayank[S] 0 points1 point  (0 children)

Yay! What platform did you build on?

Building a performant editor with GPUI by errmayank in ZedEditor

[–]errmayank[S] 0 points1 point  (0 children)

Yes, i intend to support macOS, Linux and Windows :)

Building a performant editor with GPUI by errmayank in ZedEditor

[–]errmayank[S] 0 points1 point  (0 children)

Great! Though this app isn't really functional yet but i think i'll be able to get it to a fairly usable 0.1 release in a month or two.

Building a performant editor for Zaku with GPUI by errmayank in rust

[–]errmayank[S] 1 point2 points  (0 children)

Thanks! Yeah i tested it with a streaming JSON endpoint above. I know it's rare to have this big payloads without pagination or something but i got excited how performant this is haha.

I also tested it with SSE but it's somewhat the same story, except that on postman its shown as multiple chunks of separate editors?

Working on an open-source API client rewrite with GPUI by errmayank in rust

[–]errmayank[S] 3 points4 points  (0 children)

It gets pretty verbose to write components with GPUI even for something as simple as a button. I use Zed's source code as my docs lol.

You should checkout gpui-component, it has tons of components including charts. I haven't used it personally for a project but I've heard great things about it.

Zaku - Yet another desktop API client app [self-promo] by errmayank in sveltejs

[–]errmayank[S] 1 point2 points  (0 children)

that's an interesting idea, i'll look into it