I love the redefinition of "native desktop app" - a web app which uses the system web-view instead of bundling Chrome.
> 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.
Slightly off topic, but what is the best way to build a cross platform GUI app these days, but something with good graphics, typography, etc. I mean a beautiful app. I would prefer to have a shared core in Go, and then something around it to give me the GUI. I know on MacOS it is straightforward to build something beautifully looking with their native Swift toolkit, but not sure on Linux and Windows. Is it better to just use a web view, or perhaps Flutter?
> No borrow checker. No lifetimes. No fighting the compiler for 20 minutes over a string.
It's embarrassing. If the borrow checker and lifetimes are difficult for the author, I would suggest sticking with non-systems-languages. In systems languages you have to either do the work the borrow-checker does in your head, or you let Rust do it.
If you are fighting the Rust compiler for 20 minutes over a string (or whatever actually happened that warrants this hyperbole), you are simply not writing good systems-level code.
This is an advanced version of the kind of person who deliberately compiles without warnings in C because they make it harder to find the error messages. It's complete amateur hour and it's embarrassing.
The real fix here is to learn how to do it properly. I VERY RARELY run into Rust compilation issues where I think "this is stupid". Nearly all of the time, the compiler is telling me that I forgot to think of something that I should have been thinking about, or that I've not been explicit enough. I've written C++ for way too long to know that this is hyper valuable.
I've also written enough Zig to know that Zig is not for people who are bad at systems level programming. It'll blow up in your face, just like C.
Given this is from Vercel and most likely vibe coded (hopefully not), I wonder how many zero-day vulnerabilities will be there... :^)
Sounds very similar to webui (zig version: https://github.com/webui-dev/zig-webui)
What is the difference?
Using the "system WebView" is not a positive on Linux.
For some reason that always means WebKitGTK, which is crummy.
Someone, anyone, please get CEF working with GTK4.
Then why make an app instead of a website?
Im not sure if people are getting the biggest problem in electron desktop apps.
Its RAM usage not the disk!!
Why are they all making the same thing in different ways?! I have never worked on an electron app where the executable size was an impediment to the business. Its always the RAM/CPU usage. If we are going to work on the same webviews like electron and others, how will this make any difference?
This is not native.
Still, 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.
No screenshot examples even? :/
zero examples
> 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.