Comment by yboris

4 days ago

Vibe coding can yield us Tauri apps that end up being like 3mb rather than 130mb for a "Hello World" app.

I would go one step farther - if you're vibe coding, skip Tauri altogether. I've been on-and-off vibecoding a GitKraken replacement using egui instead, and the memory footprint is very low. Otherwise can't tell the difference, as I'm not reading the code either way.

  • Isn't egui really cpu inefficient though? It repaints at 60fps if e.g. you move the mouse over it

    • If it is, it hasn't been a problem so far. I have been focused heavily on memoization, to what extent that's possible when fully vibe coding.

      Fwiw, what it's trying to replace (GitKraken) is slow, clunky, and resource hungry, so it's not hard to beat.

    • Egui mostly repaints on the GPU, so the inefficiencies doesn't really show up until you try to render 10k tree nodes in a list or something, and even then you can do virtualization.

  • You're probably doing something the LLM has less fluency with.

    • Definitely would concede this, but I haven't had any issues so far. It's been able to make things look exactly as I've dictated them, even with relatively complex visualization of git branching. I get the sense that, with how capable Opus 5.5 is, "less capable" no longer means "not capable enough".

You can just skip Tauri entirely and get true native apps. No web wrapping required

  • But there’s still no way to get consistent results cross-platform without a web view, right? I guess Tauri isn’t even consistent because it relies on the system’s browser and they do differ to some degree.

    • My friend, inconsistency is the entire point. You now have incredible power to write truly native apps that fit in with the platform and follow all the standards. The bottleneck is now you, or whoever owns each target platform and understands what native apps feel like.

      24 replies →

    • > But there’s still no way to get consistent results cross-platform without a web view, right?

      … good? I want my applications to be consistent with the platform they run on, not with their own stupidity on other platforms.

      4 replies →

    • Skia is the 2D graphics library used in Chromium. A number of GUI frameworks (Flutter and Avalonia) directly use Skia to do non-native platform GUIs that are consistent across platforms.

      3 replies →

    • Is consistent results what you want? non-native controls look and behave funny on iOS, and the iOS look on any other platform is annoying.

    • There is also Slint that'd fir perfectly. Others have built game launcher with it as well

    • that's great! cross platform means it doesn't fit in anywherec not it fits in everywhere

Tauri doesn't solve the problems Electron solves. It just externalizes the solution so things can subtly stop working randomly.

Much better it can give us just webview in wry and winit without tauri bloat