this post was submitted on 09 Dec 2025
760 points (98.2% liked)

Technology

77096 readers
2576 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 
  • Windows Latest discovered Discord and other Chromium and Electron-based applications with high RAM usage
  • RAM usage spikes from 1GB to 4GB on Discord both in and out of voice chat
you are viewing a single comment's thread
view the rest of the comments
[–] Kynn@jlai.lu 31 points 3 days ago (2 children)

Tauri is the way to go ; so that every app doesn't each embed another web browser that makes for 90% of the file size.

[–] Orygin@sh.itjust.works 2 points 2 days ago

Tauri doesn't automatically make apps perform good. Easy and common pitfalls still can make it go to a crawl just like electron.
Yaak is an example of a tauri app that performs horribly, and that can't reach a satisfactory 30fps on modern hardware. The issue is within how tauri interacts with the js world and syncs state.

[–] dukemirage@lemmy.world 5 points 3 days ago (2 children)

Is the Rust backend mandatory?

[–] Kynn@jlai.lu 16 points 3 days ago (1 children)

In Tauri, the rust backend is the glue between web/js and OS functions. Yet you don't need to do any rust code, it's delivered ready.

[–] dogs0n@sh.itjust.works 3 points 3 days ago (1 children)

If your app interfaces with the OS, like most apps would (reading a file, managing the window, etc), then you would be writing rust, no?

[–] Kynn@jlai.lu 5 points 3 days ago (1 children)

Let's say you are a webdeveloper trying to package your js app into a executable.

Tauri makes it so that it embeds your js into a rust base, and if you need to interact with the os, you have a Tauri JS API which calls predefined rust functions embedded in the executable.

You can literally never write rust code while using tauri.

But they givr you the choice, since rust is faster than compiled js, you also can create rust functions which you then call from your js code.

[–] dogs0n@sh.itjust.works 2 points 2 days ago

Cool, thank you for the knowledge!

[–] Holytimes@sh.itjust.works 7 points 3 days ago

Of course all must rust, return to the oxide!