logoalt Hacker News

vova_hn2yesterday at 6:33 PM4 repliesview on HN

> Inspiration

> GPUI - Zed's GPU UI framework

Cool, but a comparison would also be very helpful.

If I decide to make a GUI app with Zig, how do I choose between Gooey and GPUI?

So far, all I know that GPUI is more mature and has at least one successful project built with it, so...

Also:

> Gooey: Turn (almost) any Python 3 Console Program into a GUI application with one line

> https://github.com/chriskiehl/Gooey


Replies

shorsheryesterday at 7:07 PM

GPUI is written in Rust, so in this specific case the decision is already somewhat made for you.

torginusyesterday at 7:27 PM

If I remember correctly, Zed's framework didn't set the goal of being able to draw arbitrary graphics/UI and by constraining that, it basically managed to represent everything with quads and distance fields in shaders, which reduced draw calls and GPU state management to a minimum.

ssernikkyesterday at 7:04 PM

> how do I choose between Gooey and GPUI?

GPUI is for rust, not zig

mgrandlyesterday at 7:04 PM

I mean GPUI is rust and Gooey is Zig so if you wanna do a project in Zig you probably wouldn’t choose GPUI.

show 1 reply