| ▲ | Electron vs. Tauri(dolthub.com) | ||||||||||||||||||||||||||||
| 46 points by birdculture 10 hours ago | 21 comments | |||||||||||||||||||||||||||||
| ▲ | Arrowmaster 3 hours ago | parent | next [-] | ||||||||||||||||||||||||||||
The author has obviously never tried Tauri on Linux. I've never seen one of their AppImages work correctly. Every project uses the upstream GitHub action to build binaries and it compiles dynamically linked binaries limited to the glibc from the Ubuntu 22 or 24 VM used. Xdg-open is often broken too from broken environment variables in the AppImages, so you can open a link in the default web browser. The entire build process needs reworked. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | dfabulich 7 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
> Lack of support for .appx and .msix bundles on Windows https://github.com/tauri-apps/tauri/issues/4818 Whoa, I had no idea about that. Tauri is way less fully baked than I realized. The bug goes on to explain that Tauri apps can't have Windows "package identity", which means that there's a bunch of Windows APIs you simply can't use in Tauri, including the notifications API. Without package identity, IMO, Tauri isn't ready for primetime on Windows. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | sundarurfriend 7 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
> As you’d expect, this makes Tauri apps far more lightweight. Note that lightweight compared to Electron does not mean it's actually lightweight. In my experience, Tauri apps are still pretty heavy and a constant drain on system resources; maybe they're 2x better (faster/lighter) compared to an Electron equivalent, but they're still at least 10x worse compared to native apps. With a Tauri-based app (just like with Electron), I have to constantly remember to close the app at the soonest possible point in time, or I can tangibly feel the sluggishness it creates in the system performance. So if there's a native choice and a Tauri-written choice, I'd heavily prefer the native choice nowadays, even at the cost of some features. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | mootoday an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
My personal favorite to keep an eye on is https://www.gpui.rs/. It's what Zed(.dev) is based on. While not quite ready for prime time from what I understand, if Zed is the reference implementation, I'm sold! | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | WhyNotHugo 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I tried using Tauri a few weeks back, and the build system is an absolute nightmare. I gave up after a few hours. The last issue I encountered was it trying to link udev and libinput. libinput is a library for writing compositors, and their website literally state "libinput is not used directly by applications". I've no idea why Tauri was trying to link this (and some rough ideas of why it wasn't working due to the absence of udev on that host), but at this point, I didn't care any more. | |||||||||||||||||||||||||||||
| ▲ | kristianp 4 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
How does Wails compare here? I'm guessing it's less mature than Tauri. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | anon115 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
i had a better time vibe coding with gpt 4 with WAILS> vs any of these Electron> Tauri | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | aabhay 7 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||
If they didn’t have the nodejs dependency then the Tauri bundle could be as small as 20mb. Another pro not mentioned is that native integrations (i.e. obj-c on macos) are much easier to do since rust has great ffi integration with other native libraries. The biggest pro to electron is that it has extensive plugins that are often widely used in production by large companies. But Tauri is definitely winning and any new project should use Tauri no matter what essentially. | |||||||||||||||||||||||||||||