this post was submitted on 08 Jan 2025
1045 points (98.1% liked)

Programmer Humor

19960 readers
440 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
1045
Good guy clippy (lemmy.zip)
submitted 6 days ago* (last edited 6 days ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 140 points 6 days ago* (last edited 6 days 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 6 days 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] 25 points 6 days 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?

[–] asdfasdfasdf 15 points 6 days ago (1 children)

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

[–] [email protected] 12 points 6 days ago* (last edited 6 days 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

[–] Ziglin 6 points 5 days ago* (last edited 5 days ago)

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

What makes it bad for Linux?

[–] bulwark 20 points 6 days 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 6 days ago

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

[–] [email protected] 4 points 6 days ago

That does seem like a good improvement.

[–] [email protected] 1 points 5 days ago (1 children)

What about Flutter? It was pretty nice to work with

[–] [email protected] 8 points 5 days 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] 2 points 4 days 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 5 days ago

Make sense, tnx