I would rather see existing Zig GUI libraries using system's GUI primitives improving. With LLM GUI stuff should be simple enough and we don't need to rely on people web expertise to build desktop apps.
Zero-native – Build native desktop apps with web UI
11–20 of 65 posts
Re: Zero-native – Build native desktop apps with web UI
#12> Use the system WebView for lightweight apps, or bundle Chromium via CEF so basically a vibe coded Tauri in zig? I don't like calling webview dependent applications "native desktop apps". Native desktop apps means using the OS primitives and directives to draw the UI imo; WinForms, SwiftUI, and their ilk.
Re: Zero-native – Build native desktop apps with web UI
#13> No borrow checker. No lifetimes. No fighting the compiler for 20 minutes over a string. I don’t like this attitude, both zig and rust have their strengths.
And since 0.16/0.17 Zig introduced a very nice async/concurrency system that doesn't require function coloring. While async in Rust still feels strange and not well integrated.
Re: Zero-native – Build native desktop apps with web UI
#14> No borrow checker. No lifetimes. No fighting the compiler for 20 minutes over a string. I don’t like this attitude, both zig and rust have their strengths.
Cool, let me know when you have a rational counterargument then, some of us have gotten fed up with Rust (especially at scale) and are very much enjoying Zig (which has no magic, which turns out to be a huge advantage at scale)
Re: Zero-native – Build native desktop apps with web UI
#15What is the difference?
Re: Zero-native – Build native desktop apps with web UI
#16> No borrow checker. No lifetimes. No fighting the compiler for 20 minutes over a string. I don’t like this attitude, both zig and rust have their strengths.
> "I don't like this attitude" Cool, let me know when you have a rational counterargument then, some of us have gotten fed up with Rust (especially at scale) and are very much enjoying Zig (which has no magic, which turns out to be a huge advantage at scale)
Re: Zero-native – Build native desktop apps with web UI
#17Still, using system's native GUI should be more performant and use less memory. I would rather see existing Zig GUI libraries using system's GUI primitives improving. With LLM GUI stuff should be simple enough and we don't need to rely on people web expertise to build desktop apps.
Unless you mean drawing the gui directly to a graphics surface, which often results in even poor accessibility and system integration unless the developer cares a lot about that and puts a lot of effort into it.
Re: Zero-native – Build native desktop apps with web UI
#18> Use the system WebView for lightweight apps, or bundle Chromium via CEF so basically a vibe coded Tauri in zig? I don't like calling webview dependent applications "native desktop apps". Native desktop apps means using the OS primitives and directives to draw the UI imo; WinForms, SwiftUI, and their ilk.
Maybe it's called zero native because that is how native it is.
Re: Zero-native – Build native desktop apps with web UI
#19For some reason that always means WebKitGTK, which is crummy.
Someone, anyone, please get CEF working with GTK4.
Re: Zero-native – Build native desktop apps with web UI
#20> No borrow checker. No lifetimes. No fighting the compiler for 20 minutes over a string. I don’t like this attitude, both zig and rust have their strengths.
> "I don't like this attitude" Cool, let me know when you have a rational counterargument then, some of us have gotten fed up with Rust (especially at scale) and are very much enjoying Zig (which has no magic, which turns out to be a huge advantage at scale)
Not to mention we're nitpicking over something that an LLM wrote.