this post was submitted on 12 Dec 2023
924 points (98.7% liked)

Programmer Humor

32572 readers
147 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ExLisper@linux.community 76 points 11 months ago (1 children)

I though the same but I tried Tauri and it makes sense. Unlike electron you're not shipping the entire browser with your app and the the low level stuff is just rust so the integration is nice and easy. And using webview for UI? Why not? The reactive libraries are actually nice to work with, it's easy to customize, you have all the tools to inspect/debug your code. It's definitely better then trying to fit GTK into rust.

[–] lobut@lemmy.ca 13 points 11 months ago (1 children)

I'm using Tauri to play around with Rust. I like it so far.

I always thought it uses far fewer resources than electron.

[–] ExLisper@linux.community 1 points 11 months ago (1 children)

What are you using from UI? JS or also Rust?

[–] lobut@lemmy.ca 6 points 11 months ago (1 children)

oh JS too, which kinda throws me off because I'm not bad with Web Dev, but I'm not good either and my UI looks like a bad web page than a good desktop app.

I'm actually trying to keep it simple and write my own launcher like Alfred, Albert, Kupfer but I want it to launch my own custom scripts that I can load in a directory as well.

[–] ExLisper@linux.community 3 points 11 months ago

Yeah, UI is hard. I try to use good component librarian as much as possible but actually making it look consistent is difficult.

For the UI I'm using leptos. It's actually very nice and using rust on both front and back means there's couple less things to worry about.