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
[–] dafta@lemmy.blahaj.zone 5 points 3 days ago (2 children)

Those are called Progressive Web Apps (PWA). You can use firefox to add the website to your desktop like this: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Installing

Once you do, when you open the app it should have just the website without the tabs and everything else firefox does.

[–] ExLisper@lemmy.curiana.net 1 points 9 hours ago

So I checked and my app done with Tauri uses 50MB of RAM. Simple PWAs I've checked using about:memory in Firefox use 40-50MB. Native apps done with egui or iced use ~25MB. The difference is really small and taking into account all the advantages of Tauri (more mature framework, easier packaging, better DX, better components library) I'm not very motivated to learn a native library just to save 20MB of RAM. PWA would be an interesting option (very similar to Tauri but maybe with easier distribution) but in the near future I want to work with Android Auto so I will need to work closely with native Android API and I already know how to do it with Tauri.

[–] ExLisper@lemmy.curiana.net 2 points 3 days ago

Firefox requires a PWA extension.

And the extension requires a package from a 3rd party repo. Probably that's why I missed it until now. It works nice on Android though. Maybe I should do a PWA... But it's like... learn new tools, host it somewhere... I will think about it. Thanks!