this post was submitted on 08 Jan 2025
1033 points (98.0% liked)

Programmer Humor

19918 readers
1909 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
1033
Good guy clippy (lemmy.zip)
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 143 points 1 day ago* (last edited 1 day ago) (4 children)

For anyone considering Electron: take a look at Tauri. It’s another way to build cross-platform apps with web tech. It will use the OS‘s web rendering engine instead of shipping Chromium which results in much smaller binaries and faster startup times and less RAM usage. You can also write native code in Rust. It’s like Electron but good.

[–] [email protected] 51 points 1 day ago (3 children)

Bad for Linux at the moment...

That being said, it won't improve just by saying it's bad for Linux, if you work as a maintainer in a distro, or know a lot about Linux and rust to help their development then please reach out!!!

The sooner tauri is usable everywhere the more people will prefer it

[–] [email protected] 6 points 21 hours ago* (last edited 21 hours ago)

Works fine for me on endeavourOS (Hyprland and i3).

What makes it bad for Linux?

[–] [email protected] 15 points 1 day ago (1 children)

First I've heard of this. What's wrong on Linux?

[–] [email protected] 12 points 1 day ago* (last edited 1 day ago)

Outdated theming and ~~several widgets(?)that aren't implemented~~ general instability such as random crashes, code not behaving similarly to Mac or Windows, slowdowns, missing packages in builds, a lot of window resizing issues and uh, fuck load of appimage issues

[–] [email protected] 27 points 1 day ago

I didn't try out a Tauri app on linux yet, I just know that it's generally supported. What doesn't work (well) as of now?

[–] [email protected] 1 points 19 hours ago (1 children)

What about Flutter? It was pretty nice to work with

[–] [email protected] 8 points 18 hours ago (2 children)

The reason people use Electron in the first place is that they wanna share a codebase between web, desktop and possibly mobile.

While Flutter can technically do that, the web apps it outputs are atrocious with poor usability and accessibility. It’s drawing the whole UI on a canvas element which causes all kinds of issues.

[–] [email protected] 1 points 7 hours ago

they wanna share a codebase between web, desktop and possibly mobile.

That way you get an app that’s crap on every platform.

[–] [email protected] 1 points 18 hours ago

Make sense, tnx

[–] [email protected] 20 points 1 day ago (1 children)

There's actually a pretty cool music player project I'm keeping an eye on called Audioling that's built on Tauri. I currently use one called Feishin which is pretty good.

[–] [email protected] 6 points 1 day ago

Yep, using Feishin as well. Audioling is a rewrite from the same dev.

[–] [email protected] 6 points 1 day ago

That does seem like a good improvement.