Live data from Hacker News

Gooey: A GPU-accelerated UI framework for Zig

github.com

31–40 of 93 posts

Re: Gooey: A GPU-accelerated UI framework for Zig

#31

Earlier quoted context omitted.

This is what you can with Qt: #include #include #include class widget : public QWidget { void paintEvent(QPaintEvent*) override { QPainter(this).drawEllipse(QPoint(320, 240), 100, 100); } }; int main(int argc, char *argv[]) { QApplication app(argc, argv); widget w; w.resize(640, 480); w.show(); return app.exec(); } It doesn't seem too complicated to me.

That doesn't seem too bad, I agree. Maybe that's why QT is used. I haven't really used QT, but the more modern Windows apis, vulkan, etc all are pretty complicated.

FWIW, vulkan is not a GUI library; if you're reaching for it without a clear understanding of why you're doing so, yeah, it'll seem like a very complicated way of doing things.

Re: Gooey: A GPU-accelerated UI framework for Zig

#33
post #27
post #8

This is great, we need more of this. It's high time we began to escape the dark ages of rule-by-Electron. See Bitwarden's recent fumble of a redesign.

I take it back. This project is pure slop https://github.com/duanebester/gooey/blob/main/docs/architec...

Well, the big CLAUDE.md there is a giveaway that it was AI generated:

https://github.com/duanebester/gooey/blob/main/CLAUDE.md

But still, the project solves a legit pain point. And the author seems pretty hands-on with steering the technical implementation details.

Re: Gooey: A GPU-accelerated UI framework for Zig

#34
post #32

I have to say it: Zig devs are on another level

It was made with AI though: https://github.com/duanebester/gooey/blob/main/CLAUDE.md

That said, it fills a legit hole in the ecosystem and the author seems to be hands-on with the technical direction.

Re: Gooey: A GPU-accelerated UI framework for Zig

#38

Earlier quoted context omitted.

This is what you can with Qt: #include #include #include class widget : public QWidget { void paintEvent(QPaintEvent*) override { QPainter(this).drawEllipse(QPoint(320, 240), 100, 100); } }; int main(int argc, char *argv[]) { QApplication app(argc, argv); widget w; w.resize(640, 480); w.show(); return app.exec(); } It doesn't seem too complicated to me.

That doesn't seem too bad, I agree. Maybe that's why QT is used. I haven't really used QT, but the more modern Windows apis, vulkan, etc all are pretty complicated.

It’s Qt and pronounced ‘cute’.

https://en.wikipedia.org/wiki/Qt_(software)

Re: Gooey: A GPU-accelerated UI framework for Zig

#39
"Rewrite GPUI in Zig and make no mistakes" ahh moment. I will never trust software that is written by people who don't understand anything and just generate slop. You have a powerful tool that can help you understand how things work and improve your skills. You can explore huge codebases and find exactly what you're looking for without wasting hours digging through code. Instead, you choose to generate ai slop.

Re: Gooey: A GPU-accelerated UI framework for Zig

#40

Earlier quoted context omitted.

I also have one [1]. It's a good name :-) [1]: https://github.com/creativescala/gooey

not the maintainer, but at first I thought it was python :D https://github.com/chriskiehl/Gooey

I've always loved this project, I've used it a lot for making my scripts into internal tools for everyone in the team, even non-technical staff
Post reply on HN