News for hackers. Stuff that matters.
Re:Electron vs. Tauri by Arrowmaster on Friday November 28, 2025 @09:57PM (#46084856)
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.
Re:Electron vs. Tauri by dfabulich on Friday November 28, 2025 @11:50PM (#46085242)
It's like they always say: Win32 is the only stable ABI on Linux.
Re:Electron vs. Tauri by dijit on Saturday November 29, 2025 @03:50AM (#46086073)
Which is wild when you consider the efforts the kernel goes to to avoid breaking userspace. Sometimes stifling innovation in UX.

GNU libc has a lot to answer for here honestly.

Re:Electron vs. Tauri by eptcyka on Saturday November 29, 2025 @05:18AM (#46086465)
It is not surprising that a libc headed by the chief gnuissance would produce sn ecosystem where everything works better when apps are compiled from source for each distro.
Re:Electron vs. Tauri by unmole on Saturday November 29, 2025 @11:42PM (#46093817)
> Sometimes stifling innovation in UX.

How does the Linux kernel maintaining backward compatibility stiffle UX innovation?

Re:Electron vs. Tauri by dijit on Sunday November 30, 2025 @02:42AM (#46094671)
You’re probably thinking of UX as being user interfaces and desktop environments.

But sometimes a user is an api consumer.

There’s plenty of horrible kernel functions with footguns in Linux, but they won’t be improved due to “never break userspace”

theres lots if examples if you need specifics. readdir, epoll, futumesat (and ufutumesat), etc.

Re:Electron vs. Tauri by msla on Saturday November 29, 2025 @05:48PM (#46091535)
Well, it certainly isn't a stable ABI on Windows.
Re:Electron vs. Tauri by niutech on Sunday December 07, 2025 @10:17AM (#46182281)
But Win32 API is stable, I can run Windows 95 apps in Windows 11!
Re:Electron vs. Tauri by WhyNotHugo on Friday November 28, 2025 @10:47PM (#46085042)
The idea of AppImages is neat, but the implementation is awful and rarely works (except perhaps on Ubuntu and Fedora and extremely similar scenarios).

The main issue being that they're dynamically linked binaries, which is exactly what you want to avoid for their use case.

Using packages from your favourite distribution is usually your best bet.

Re:Electron vs. Tauri by max-privatevoid on Saturday November 29, 2025 @09:25AM (#46087765)
The idea is awful as well if you spend one second thinking about dependency sharing.
Re:Electron vs. Tauri by Arrowmaster on Saturday November 29, 2025 @11:00AM (#46088513)
AppImages are supposed to be able to handle all of that and I have used a number of them that do. In the case of Tauri though it seems nobody on the framework team knows Linux well enough to fix the build process to not constantly break as libraries update on the GitHub Ubuntu VMs or to make all the required dynamically linked libraries get included in the AppImage. And finally most of the downstream app developers have never written an app for Linux and chose the framework expecting it to solve the problems it clearly isn't.
Re:Electron vs. Tauri by ambicapter on Saturday November 29, 2025 @12:23AM (#46085348)
Sadly, every time that one guy posts his personal finance app on HN I try it and every time tauri gives me trouble to build, and when I fix whatever build errors it gives me it basically opens up a blank window and the app doesn't work (He now offers a Docker image which I can't help but feel is related to these difficulties).
Re:Electron vs. Tauri by Arrowmaster on Saturday November 29, 2025 @11:04AM (#46088553)
I think the blank window bug was caused by a change in the libraries used by the webview on Ubuntu 22.04 used by suggested build action. Details and fixes were spread across bug reports in multiple downstream projects but afaik it was fixed in an Ubuntu update.
Re:Electron vs. Tauri by andai on Saturday November 29, 2025 @12:38AM (#46085400)
I've been a lifelong Linux user, and this makes me sad.

I don't know enough to comment about whether or not it's necessary, but any time I've tried to get anything working that wasn't updated recently, it was impossible.

Well impossible is a bit strong, the process ranges from:

- Find a forum post that links to some old .deb files and install them manually

- Install a newer version of a dependency and then recompile from source code, after spending an hour or two updating the program so it works with the new version of the dependency because the dependency changed its API for no reason (that one's not a Linux problem per se, but it wouldn't be necessary if the old one still worked!)

Better to download the Windows version and run it in WINE...

Re:Electron vs. Tauri by s369610 on Saturday November 29, 2025 @01:37AM (#46085594)
I really wanted to use tauri instead of electron, but the libwebkit it uses on linux is just too slow for modern CSS/html, from memory I managed to get single digit fps just scrolling the components page of daisy-ui. I am holding on for when they get a servo integration.
Re:Electron vs. Tauri by gigatexal on Saturday November 29, 2025 @03:04AM (#46085863)
lol Linux. The market share is laughably small vs the time and energy and cost it’d take an engineer or team of engineers to support Linux. Sure they could bundle electron but where’s the fun in that?
Re:Electron vs. Tauri by vbezhenar on Saturday November 29, 2025 @04:35AM (#46086271)
Recently I tried Electron app, it didn't work out of the box in Ubuntu 24.04 (AppImage). Turned out some issue with apparmor. It worked if extracted manually, though, but that's a bit of friction for ordinary users, also probably wouldn't work with updater.

I think that's the issue: https://github.com/electron/electron/issues/41066

Not even sure who to blame in this situation.

Re:Electron vs. Tauri by warangal on Saturday November 29, 2025 @05:16AM (#46086457)
Using `zig-cc (clang)` to set a particular `LibC` version is one of the best decisions i have made, and saved me from those meaningless libC mismatch errors!
Re:Electron vs. Tauri by max-privatevoid on Saturday November 29, 2025 @09:23AM (#46087758)
It's insane that Zig was needed to achieve this, instead of a preprocessor definition like "#define GLIBC_MIN_COMPATIBLE_VERSION GLIBC_2_40".
Re:Electron vs. Tauri by noir_lord on Saturday November 29, 2025 @05:57AM (#46086639)
En Croissant and Pawn Appetite use Tauri (chess interfaces), neither ever works, got so annoying I just setup docker to build them on fedora and copy the binary out via scratch stage, needed to install one library and now both work.

Tauri itself seems fine but the packaging in AppImage is exactly as you describe, or EFL just breaks.

Re:Electron vs. Tauri by Ciantic on Saturday November 29, 2025 @06:19AM (#46086718)
Yeah, I switched to Linux and my single Tauri app was not cooperating.

They do have an effort to use Chromium Embedded Framework for rendering the webview, it's potentially much more stable in Linux. [1] It is nowhere near finished but you can run the cefsimple example, and it rendered me a window in Wayland.

CEF is also bundled in many distros, like Fedora 43, so if it can be linked with Linux distros version of CEF, then the binary stays smaller.

[1]: https://github.com/tauri-apps/cef-rs/tree/dev/examples

Re:Electron vs. Tauri by wg0 on Saturday November 29, 2025 @06:30AM (#46086764)
Tauri finding and loading WebView is not the only game in town. There's wails too for golang.

I don't understand the obsession with trimming the disk size at the expense of stability.

The WebView these libraries find isn't the one your JS bundle is hoping for and an upgrade of the WebView isn't an option then what?

Re:Electron vs. Tauri by notpushkin on Saturday November 29, 2025 @07:58AM (#46087208)
It's not only the disk size, it's also RAM.
Re:Electron vs. Tauri by Fizzadar on Saturday November 29, 2025 @07:09AM (#46086951)
In my experience building Kanmail neither Tauri or Wails have this figured out. I had to combine elements of both projects custom linuxdeploy GTK plugin and I’m still not 100% sure it works everywhere. https://github.com/Oxygem/Kanmail/blob/19c5bfe78fe1b22147c01...
Re:Electron vs. Tauri by sipjca on Saturday November 29, 2025 @08:57AM (#46087558)
Yeah.. It's pretty damn hard to get working at all, and the systems it does seem to work on is quite limited as well. And also the developers of Tauri largely have seemed to have given up on Linux (which to some degree I understand, it represents a tiny amount of users for 99% of the problems due to the massive diversity in the ecosystem of Linux DE)

I fight with GitHub Actions on this all the time, and damn near think about running dedicated instances just to build from.

Re:Electron vs. Tauri by c-hendricks on Saturday November 29, 2025 @11:52AM (#46088932)
I've ditched the AppImage build in my tauri apps for .deb. They work fine on other distros as long as you install libwebkitgtk
Re:Electron vs. Tauri by hysan on Saturday November 29, 2025 @01:02PM (#46089445)
Yup, came here to say this. After reading the article, it became abundantly clear that the author doesn’t support Linux and most of the article is just a summary of the common Tauri talking points that are out of date. To add data to this - Tauri is looking to allow embedding chromium as an option because the creator of Tauri acknowledged that it doesn’t work well on Linux. To the point where if Linux is a serious target, they don’t recommend Tauri: https://github.com/tauri-apps/wry/issues/1064#issuecomment-2...

The upstream projects aren’t in a place to support this yet so this feature didn’t make it into Tauri v2. I’ve been tracking this for a long time and hope that they will make it possible in v3.

Re:Electron vs. Tauri by Arrowmaster on Sunday November 30, 2025 @11:07AM (#46097777)
Thanks for the link. That's great info to know but it's only part of the problem. If they think changing out the renderer will fix everything then they haven't learned anything.

Their build action creates seriously flawed AppImages for Linux for multiple reasons that have nothing to do with the renderer but with the AppImage creation process.

Re:Electron vs. Tauri by hysan on Sunday November 30, 2025 @07:12PM (#46101893)
Good to know. Every time I gave Tauri a shot, issues with the state of WebKit on Linux was always my first hard wall. I never got to even trying to make a production executable. Sounds like it’ll be a long time before this ever becomes viable for fully cross platform use cases.
Re:Electron vs. Tauri by auraham on Wednesday December 03, 2025 @03:36PM (#46139766)
Wonder if Wails have the same issue on Linux.
Re:Electron vs. Tauri by niutech on Sunday December 07, 2025 @10:26AM (#46182362)
Tauri also targets the lightweight Servo engine, so you don't need to budle a bloated CEF.
Re:Electron vs. Tauri by niutech on Sunday December 07, 2025 @10:20AM (#46182321)
Why noy use Flatpak instead of AppImage then?