Comment on RAM prices soar, but popular Windows 11 apps are using more RAM due to Electron, Web components
A_norny_mousse@feddit.org 6 days agoI guess as a user I just don’t want all my apps to open a tab in my browser. I want to move apps between virtual desktops and monitors independently and I don’t want my app’s window to be clattered by all the menus from my browser.
All this is already possible with most browsers.
ExLisper@lemmy.curiana.net 6 days ago
Do you know any websites that integrate into Linux desktop and Android like native apps? I mean I can run it from cmd/icon, and it opens as new window without any decorations? I never saw it but if it’s works fine it’s an interesting option.
dafta@lemmy.blahaj.zone 6 days ago
Those are called Progressive Web Apps (PWA). You can use firefox to add the website to your desktop like this: developer.mozilla.org/en-US/docs/…/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 3 days ago
So I checked and my app done with Tauri uses 50MB of RAM. Simple PWAs I’ve checked using
about:memoryin 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 6 days ago
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!